Skip to content

Staging#1177

Merged
iamzoltan merged 27 commits intomainfrom
staging
Mar 20, 2026
Merged

Staging#1177
iamzoltan merged 27 commits intomainfrom
staging

Conversation

@iamzoltan
Copy link
Copy Markdown
Contributor

No description provided.

ViviNeuro and others added 21 commits March 17, 2026 09:17
@github-actions
Copy link
Copy Markdown

Notebook Processing Failure Context

tutorials/Bonus_OptimalControl/Bonus_DaySummary.ipynb

2026-03-20T05:22:12.7128598Z Traceback (most recent call last):
2026-03-20T05:22:12.7137392Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:12.7138494Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:12.7139158Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:12.8326500Z ##[error]Process completed with exit code 1.

tutorials/Bonus_OptimalControl/Bonus_Intro.ipynb

2026-03-20T05:22:55.4931689Z Traceback (most recent call last):
2026-03-20T05:22:55.4942935Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:55.4943813Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:55.4944729Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:55.7427430Z ##[error]Process completed with exit code 1.

tutorials/Bonus_OptimalControl/Bonus_Outro.ipynb

2026-03-20T05:22:36.0765798Z Traceback (most recent call last):
2026-03-20T05:22:36.0775232Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:36.0776030Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:36.0776542Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:36.2180429Z ##[error]Process completed with exit code 1.

tutorials/Bonus_OptimalControl/Bonus_Tutorial1.ipynb

2026-03-20T05:22:12.3375679Z Traceback (most recent call last):
2026-03-20T05:22:12.3384720Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:12.3385482Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:12.3386307Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:12.4662381Z ##[error]Process completed with exit code 1.

tutorials/Bonus_OptimalControl/Bonus_Tutorial2.ipynb

2026-03-20T05:22:26.2436942Z Traceback (most recent call last):
2026-03-20T05:22:26.2445176Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:26.2446483Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:26.2447114Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:26.4055017Z ##[error]Process completed with exit code 1.

tutorials/W2D3_LinearSystems/W2D3_DaySummary.ipynb

2026-03-20T05:22:37.2107589Z Traceback (most recent call last):
2026-03-20T05:22:37.2117473Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:37.2118356Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:37.2118894Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:37.3592026Z ##[error]Process completed with exit code 1.

tutorials/W2D3_LinearSystems/W2D3_Intro.ipynb

2026-03-20T05:22:24.8689034Z Traceback (most recent call last):
2026-03-20T05:22:24.8696072Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:24.8696773Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:24.8697242Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:25.0622188Z ##[error]Process completed with exit code 1.

tutorials/W2D3_LinearSystems/W2D3_Outro.ipynb

2026-03-20T05:22:32.2088138Z Traceback (most recent call last):
2026-03-20T05:22:32.2097075Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:32.2098009Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:32.2098680Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:32.3794245Z ##[error]Process completed with exit code 1.

tutorials/W2D3_LinearSystems/W2D3_Tutorial1.ipynb

2026-03-20T05:22:36.6079520Z Traceback (most recent call last):
2026-03-20T05:22:36.6088452Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:36.6089277Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:36.6089848Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:36.7761864Z ##[error]Process completed with exit code 1.

tutorials/W2D3_LinearSystems/W2D3_Tutorial2.ipynb

2026-03-20T05:22:17.6044019Z Traceback (most recent call last):
2026-03-20T05:22:17.6054788Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:17.6055570Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:17.6056074Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:17.7597303Z ##[error]Process completed with exit code 1.

tutorials/W2D3_LinearSystems/W2D3_Tutorial3.ipynb

2026-03-20T05:22:05.4074007Z Traceback (most recent call last):
2026-03-20T05:22:05.4082672Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:05.4083959Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:05.4084651Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:05.5259088Z ##[error]Process completed with exit code 1.

tutorials/W2D3_LinearSystems/W2D3_Tutorial4.ipynb

2026-03-20T05:22:09.4208787Z Traceback (most recent call last):
2026-03-20T05:22:09.4217778Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:09.4219143Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:09.4219822Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:09.5883354Z ##[error]Process completed with exit code 1.

tutorials/W2D4_BiologicalNeuronModels/W2D4_DaySummary.ipynb

2026-03-20T05:22:30.2207013Z Traceback (most recent call last):
2026-03-20T05:22:30.2214389Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:30.2215156Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:30.2215618Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:30.3486842Z ##[error]Process completed with exit code 1.

tutorials/W2D4_BiologicalNeuronModels/W2D4_Intro.ipynb

2026-03-20T05:22:57.8177508Z Traceback (most recent call last):
2026-03-20T05:22:57.8187157Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:57.8188402Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:57.8188948Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:58.0342722Z ##[error]Process completed with exit code 1.

tutorials/W2D4_BiologicalNeuronModels/W2D4_Outro.ipynb

2026-03-20T05:22:29.9980228Z Traceback (most recent call last):
2026-03-20T05:22:29.9988050Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:29.9988850Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:29.9989351Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:30.1534658Z ##[error]Process completed with exit code 1.

tutorials/W2D4_BiologicalNeuronModels/W2D4_Tutorial1.ipynb

2026-03-20T05:22:27.4938530Z Traceback (most recent call last):
2026-03-20T05:22:27.4945434Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:27.4946072Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:27.4946474Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:27.6856282Z ##[error]Process completed with exit code 1.

tutorials/W2D4_BiologicalNeuronModels/W2D4_Tutorial2.ipynb

2026-03-20T05:22:11.2899211Z Traceback (most recent call last):
2026-03-20T05:22:11.2906435Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:11.2907735Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:11.2908351Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:11.4865469Z ##[error]Process completed with exit code 1.

tutorials/W2D4_BiologicalNeuronModels/W2D4_Tutorial3.ipynb

2026-03-20T05:22:28.0069308Z Traceback (most recent call last):
2026-03-20T05:22:28.0077347Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:28.0078033Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:28.0078446Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:28.1462589Z ##[error]Process completed with exit code 1.

tutorials/W2D4_BiologicalNeuronModels/W2D4_Tutorial4.ipynb

2026-03-20T05:22:44.8539349Z Traceback (most recent call last):
2026-03-20T05:22:44.8547143Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:44.8548305Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:44.8548891Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:45.0204341Z ##[error]Process completed with exit code 1.

tutorials/W2D5_DynamicalSystems/W2D5_DaySummary.ipynb

2026-03-20T05:22:52.5261840Z Traceback (most recent call last):
2026-03-20T05:22:52.5271917Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:52.5272977Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:52.5273650Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:52.6545365Z ##[error]Process completed with exit code 1.

tutorials/W2D5_DynamicalSystems/W2D5_Intro.ipynb

2026-03-20T05:22:05.0315797Z Traceback (most recent call last):
2026-03-20T05:22:05.0323906Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:05.0324675Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:05.0325202Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:05.1674041Z ##[error]Process completed with exit code 1.

tutorials/W2D5_DynamicalSystems/W2D5_Outro.ipynb

2026-03-20T05:23:19.1826898Z Traceback (most recent call last):
2026-03-20T05:23:19.1836384Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:23:19.1837412Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:23:19.1838094Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:23:19.3472453Z ##[error]Process completed with exit code 1.

tutorials/W2D5_DynamicalSystems/W2D5_Tutorial1.ipynb

2026-03-20T05:22:21.4357181Z Traceback (most recent call last):
2026-03-20T05:22:21.4363309Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:21.4363976Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:21.4364365Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:21.6365112Z ##[error]Process completed with exit code 1.

tutorials/W2D5_DynamicalSystems/W2D5_Tutorial2.ipynb

2026-03-20T05:22:04.4756745Z Traceback (most recent call last):
2026-03-20T05:22:04.4766154Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:04.4766872Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:04.4767328Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:04.6027742Z ##[error]Process completed with exit code 1.

tutorials/W2D5_DynamicalSystems/W2D5_Tutorial3.ipynb

2026-03-20T05:22:07.7507038Z Traceback (most recent call last):
2026-03-20T05:22:07.7514937Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:07.7515743Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:07.7516243Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:07.8678536Z ##[error]Process completed with exit code 1.

tutorials/W3D2_BayesianDecisions/W3D2_DaySummary.ipynb

2026-03-20T05:22:25.6404680Z Traceback (most recent call last):
2026-03-20T05:22:25.6414256Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:25.6415258Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:25.6415873Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:25.8942486Z ##[error]Process completed with exit code 1.

tutorials/W3D2_BayesianDecisions/W3D2_Intro.ipynb

2026-03-20T05:22:09.6724491Z Traceback (most recent call last):
2026-03-20T05:22:09.6734574Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:09.6735539Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:09.6736212Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:09.8205297Z ##[error]Process completed with exit code 1.

tutorials/W3D2_BayesianDecisions/W3D2_Outro.ipynb

Job not found for tutorials/W3D2_BayesianDecisions/W3D2_Outro.ipynb

tutorials/W3D2_BayesianDecisions/W3D2_Tutorial1.ipynb

2026-03-20T05:22:31.4292732Z Traceback (most recent call last):
2026-03-20T05:22:31.4301642Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:31.4302392Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:31.4302854Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:31.6036643Z ##[error]Process completed with exit code 1.

tutorials/W3D2_BayesianDecisions/W3D2_Tutorial2.ipynb

Job not found for tutorials/W3D2_BayesianDecisions/W3D2_Tutorial2.ipynb

tutorials/W3D2_BayesianDecisions/W3D2_Tutorial3.ipynb

Job not found for tutorials/W3D2_BayesianDecisions/W3D2_Tutorial3.ipynb

tutorials/W3D3_HiddenDynamics/W3D3_DaySummary.ipynb

Job not found for tutorials/W3D3_HiddenDynamics/W3D3_DaySummary.ipynb

tutorials/W3D3_HiddenDynamics/W3D3_Intro.ipynb

Job not found for tutorials/W3D3_HiddenDynamics/W3D3_Intro.ipynb

tutorials/W3D3_HiddenDynamics/W3D3_Outro.ipynb

Job not found for tutorials/W3D3_HiddenDynamics/W3D3_Outro.ipynb

tutorials/W3D3_HiddenDynamics/W3D3_Tutorial1.ipynb

2026-03-20T05:22:42.1569268Z Traceback (most recent call last):
2026-03-20T05:22:42.1577816Z   File "/home/runner/work/course-content/course-content/ci/process_notebooks.py", line 507, in <module>
2026-03-20T05:22:42.1579400Z     def generate_badge_cell(nb_path: Path | str) -> dict:
2026-03-20T05:22:42.1580050Z TypeError: unsupported operand type(s) for |: 'type' and 'type'
2026-03-20T05:22:42.3090423Z ##[error]Process completed with exit code 1.

tutorials/W3D3_HiddenDynamics/W3D3_Tutorial2.ipynb

Job not found for tutorials/W3D3_HiddenDynamics/W3D3_Tutorial2.ipynb

tutorials/W3D3_HiddenDynamics/W3D3_Tutorial3.ipynb

Job not found for tutorials/W3D3_HiddenDynamics/W3D3_Tutorial3.ipynb

tutorials/W3D3_HiddenDynamics/W3D3_Tutorial4.ipynb

Job not found for tutorials/W3D3_HiddenDynamics/W3D3_Tutorial4.ipynb

tutorials/W3D3_HiddenDynamics/W3D3_Tutorial5.ipynb

Job not found for tutorials/W3D3_HiddenDynamics/W3D3_Tutorial5.ipynb

@github-actions
Copy link
Copy Markdown

Notebook Processing Failure Context

tutorials/W3D2_BayesianDecisions/W3D2_Tutorial1.ipynb

2026-03-20T05:35:30.7703080Z Executing tutorials/W3D2_BayesianDecisions/W3D2_Tutorial1.ipynb
2026-03-20T05:35:32.2367436Z [Cell 4] # @title Tutorial slides
2026-03-20T05:35:32.2866298Z [Cell 6] # @title Install and import feedback gadget
2026-03-20T05:35:38.5912621Z   completed in 6.3s
2026-03-20T05:35:38.5912921Z [Cell 7] # Imports
2026-03-20T05:35:40.6081543Z [Cell 8] # @title Figure Settings
2026-03-20T05:35:40.6524906Z [Cell 9] # @title Plotting Functions
2026-03-20T05:35:40.7005800Z [Cell 10] # @title Helper Functions
2026-03-20T05:35:40.7088861Z [Cell 12] # @title Video 1: Introduction to Bayesian Statistics and Decisions
2026-03-20T05:35:40.8632800Z [Cell 13] # @title Submit your feedback
2026-03-20T05:35:40.8705121Z [Cell 15] # @title Video 2: Gone Fishin'
2026-03-20T05:35:40.9645924Z [Cell 16] # @title Submit your feedback
2026-03-20T05:35:40.9712373Z [Cell 19] # @title Video 3: Utility
2026-03-20T05:35:41.0736541Z [Cell 20] # @title Submit your feedback
2026-03-20T05:35:41.0806154Z [Cell 23] # @markdown Execute this cell to use the widget
2026-03-20T05:35:41.0868128Z [Cell 24] # to_remove explanation
2026-03-20T05:35:41.0921719Z [Cell 25] # @title Submit your feedback
2026-03-20T05:35:41.0984160Z [Cell 26] # @title Video 4: Utility Demo Discussion
2026-03-20T05:35:41.1868158Z [Cell 27] # @title Submit your feedback
2026-03-20T05:35:41.1935866Z [Cell 30] # @title Video 5: Likelihood
2026-03-20T05:35:41.3034936Z [Cell 32] # @title Submit your feedback
2026-03-20T05:35:41.3100203Z [Cell 34] # to_remove explanation
2026-03-20T05:35:41.3157099Z [Cell 35] # @title Submit your feedback
2026-03-20T05:35:41.3223580Z [Cell 38] # @title Video 6: Correlation and marginalization
2026-03-20T05:35:41.4184142Z [Cell 39] # @title Submit your feedback
2026-03-20T05:35:41.4253309Z [Cell 43] # @markdown Execute this cell to enable the widget
2026-03-20T05:35:41.9924842Z tutorials/W3D2_BayesianDecisions/W3D2_Tutorial1.ipynb failed quality control.
2026-03-20T05:35:41.9925775Z ============================== Failure ==============================
2026-03-20T05:35:41.9926517Z An error occurred while executing the following cell:
2026-03-20T05:35:41.9927060Z ------------------
2026-03-20T05:35:41.9927511Z # @markdown Execute this cell to enable the widget
2026-03-20T05:35:41.9928125Z style = {'description_width': 'initial'}
2026-03-20T05:35:41.9928622Z gs = GridspecLayout(2,2)
2026-03-20T05:35:41.9928845Z 
2026-03-20T05:35:41.9929254Z cor_widget = widgets.FloatSlider(0.0, description='ρ',
2026-03-20T05:35:41.9929644Z                                  min=-1, max=1, step=0.01)
2026-03-20T05:35:41.9930407Z px_widget = widgets.FloatSlider(0.5, description='p(color=golden)',
2026-03-20T05:35:41.9930865Z                                 min=0.01, max=0.99, step=0.01,
2026-03-20T05:35:41.9931201Z                                 style=style)
2026-03-20T05:35:41.9931599Z py_widget = widgets.FloatSlider(0.5, description='p(size=large)',
2026-03-20T05:35:41.9932024Z                                 min=0.01, max=0.99, step=0.01,
2026-03-20T05:35:41.9932348Z                                 style=style)
2026-03-20T05:35:41.9932634Z gs[0, 0] = cor_widget
2026-03-20T05:35:41.9932861Z gs[0, 1] = px_widget
2026-03-20T05:35:41.9933084Z gs[1, 0] = py_widget
2026-03-20T05:35:41.9933214Z 
2026-03-20T05:35:41.9933536Z 
2026-03-20T05:35:41.9933638Z @widgets.interact(
2026-03-20T05:35:41.9933867Z     px=px_widget,
2026-03-20T05:35:41.9934086Z     py=py_widget,
2026-03-20T05:35:41.9934298Z     cor=cor_widget,
2026-03-20T05:35:41.9934513Z )
2026-03-20T05:35:41.9934614Z 
2026-03-20T05:35:41.9934618Z 
2026-03-20T05:35:41.9934729Z def make_corr_plot(px, py, cor):
2026-03-20T05:35:41.9935114Z   Cmin, Cmax = compute_cor_range(px, py)  # allow correlation values
2026-03-20T05:35:41.9935566Z   cor_widget.min, cor_widget.max = Cmin+0.01, Cmax-0.01
2026-03-20T05:35:41.9935926Z   if cor_widget.value > Cmax:
2026-03-20T05:35:41.9936206Z     cor_widget.value = Cmax
2026-03-20T05:35:41.9936465Z   if cor_widget.value < Cmin:
2026-03-20T05:35:41.9936725Z     cor_widget.value = Cmin
2026-03-20T05:35:41.9936964Z   cor = cor_widget.value
2026-03-20T05:35:41.9937208Z   P = compute_marginal(px,py,cor)
2026-03-20T05:35:41.9937470Z   fig = plot_joint_probs(P)
2026-03-20T05:35:41.9937692Z   plt.show(fig)
2026-03-20T05:35:41.9937897Z   plt.close(fig)
2026-03-20T05:35:41.9938103Z ------------------
2026-03-20T05:35:41.9938230Z 
2026-03-20T05:35:41.9938234Z 
2026-03-20T05:35:41.9938511Z �[0;31m---------------------------------------------------------------------------�[0m
2026-03-20T05:35:41.9939044Z �[0;31mTypeError�[0m                                 Traceback (most recent call last)
2026-03-20T05:35:41.9939455Z Cell �[0;32mIn[24], line 13�[0m
2026-03-20T05:35:41.9940593Z �[1;32m      7�[0m px_widget �[38;5;241m=�[39m widgets�[38;5;241m.�[39mFloatSlider(�[38;5;241m0.5�[39m, description�[38;5;241m=�[39m�[38;5;124m'�[39m�[38;5;124mp(color=golden)�[39m�[38;5;124m'�[39m,
2026-03-20T05:35:41.9941772Z �[1;32m      8�[0m                                 �[38;5;28mmin�[39m�[38;5;241m=�[39m�[38;5;241m0.01�[39m, �[38;5;28mmax�[39m�[38;5;241m=�[39m�[38;5;241m0.99�[39m, step�[38;5;241m=�[39m�[38;5;241m0.01�[39m,
2026-03-20T05:35:41.9942496Z �[1;32m      9�[0m                                 style�[38;5;241m=�[39mstyle)
2026-03-20T05:35:41.9943536Z �[1;32m     10�[0m py_widget �[38;5;241m=�[39m widgets�[38;5;241m.�[39mFloatSlider(�[38;5;241m0.5�[39m, description�[38;5;241m=�[39m�[38;5;124m'�[39m�[38;5;124mp(size=large)�[39m�[38;5;124m'�[39m,
2026-03-20T05:35:41.9944677Z �[1;32m     11�[0m                                 �[38;5;28mmin�[39m�[38;5;241m=�[39m�[38;5;241m0.01�[39m, �[38;5;28mmax�[39m�[38;5;241m=�[39m�[38;5;241m0.99�[39m, step�[38;5;241m=�[39m�[38;5;241m0.01�[39m,
2026-03-20T05:35:41.9945382Z �[1;32m     12�[0m                                 style�[38;5;241m=�[39mstyle)
2026-03-20T05:35:41.9946066Z �[0;32m---> 13�[0m �[43mgs�[49m�[43m[�[49m�[38;5;241;43m0�[39;49m�[43m,�[49m�[43m �[49m�[38;5;241;43m0�[39;49m�[43m]�[49m �[38;5;241m=�[39m cor_widget
2026-03-20T05:35:41.9946726Z �[1;32m     14�[0m gs[�[38;5;241m0�[39m, �[38;5;241m1�[39m] �[38;5;241m=�[39m px_widget
2026-03-20T05:35:41.9947223Z �[1;32m     15�[0m gs[�[38;5;241m1�[39m, �[38;5;241m0�[39m] �[38;5;241m=�[39m py_widget
2026-03-20T05:35:41.9947484Z 
2026-03-20T05:35:41.9947747Z �[0;31mTypeError�[0m: '_NoOpWidget' object does not support item assignment
2026-03-20T05:35:41.9948044Z 
2026-03-20T05:35:42.2587738Z ##[error]Process completed with exit code 1.

Copy link
Copy Markdown
Contributor Author

@iamzoltan iamzoltan left a comment

Choose a reason for hiding this comment

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

lgtm

@iamzoltan iamzoltan merged commit 36634c5 into main Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants