[Physics]: Lab Notebook & telemetry workflow gaps in quantum-tunneling, rc-rl-circuits, and maxwell-boltzmann
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend, testing-qa
Hướng nghiên cứu
Start with the referenced entry points: src/simulations/sandboxGuides.ts, src/ui/components/LiveTelemetryCard.tsx, src/simulations/physics/rc-rl-circuits/TransientRenderer2D.ts, and the virtual instrument components. Reproduce the described notebook recording, sparkline scaling, RL trace and labels, and guide or overlay issues in the browser. The issue is done when the listed workflows and displays behave consistently with their stated values and instructions.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Found during the independent browser and learner-workflow review in #49 (Items 4 & 6).
1. quantum-tunneling lab protocol Step 3 cannot be completed in the in-app Lab Notebook
The quantum-tunneling lab protocol (src/simulations/sandboxGuides.ts lines 148–150) instructs the learner:
- Set particle energy $E = 3$ below barrier height $V_0 = 9$, and wavepacket width $\sigma = 1.2$.
- Sweep barrier width $d$ from $0.5$ to $1.5$. Each change restarts the run: record $T$ when the card says settled.
- Fit $\ln T$ against $d$: the slope comes out near $-6.1$...
When attempting this in the browser using the Record button and Lab Notebook:
TelemetryRecorder.lastRecordedSimTimeblocks recording afterdchanges: ChangingbarrierWidth($d$) callsQuantumEngine.reset(), which resetsthis.time = 0inside the engine without resettingTelemetryRecorder.lastRecordedSimTime. InTelemetryRecorder.sample(),if (point.t - this.lastRecordedSimTime >= this.sampleInterval)then sees a negativepoint.t - lastRecordedSimTimeon the next width untilthis.timeexceeds the maximumtreached on the previous width. If the learner recorded at $d = 0.5$ up to $t = 4.6\text{ s}$ and then tries to record at $d = 0.7$ during its settled window ($t = 4.265\text{–}4.55\text{ s}$), zero samples are recorded. Conversely, clicking the transport Reset button callsrecorder.reset(), which erases all previously recorded widths.- Continuous 50 Hz recording buffers un-settled in-flight points: Turning
Recordon during a run bufferstransmission_Tevery $20\text{ ms}$, including pre-settled samples ($T \approx 0$), andsettledis not included inQuantumEngine.getTelemetrySnapshot(). There is no button to log a single settled $(d, T)$ data point per width into the Lab Notebook.
2. quantum-tunneling Live Telemetry Card sparkline is $100\times$ too small (0.06 % vs 6.2%)
- In
src/ui/components/LiveTelemetryCard.tsx:- Line 258 computes
const tPercent = Math.min(100, Math.max(0, (state.transmission ?? 0) * 100));and displays6.2%in theTransmission Tbox. - Line 52 pushes raw
state.transmission(0.0625, a fraction in $[0, 1]$) intohistory, and lines 297–302 passdata={history}withunit="%"toTelemetrySparkline. - As a result, at the default settled state ($t = 3.32\text{ s}$), the card simultaneously displays
Transmission T: 6.2%andTransmission T(t): 0.06 %right below it.
- Line 258 computes
3. rc-rl-circuits oscilloscope trace overflow, hardcoded schematic labels, and multi-cycle fit trap
- Oscilloscope trace draws outside the screen and off the canvas in RL mode: In
src/simulations/physics/rc-rl-circuits/TransientRenderer2D.tsline 321,mapY(v)maps $0\text{ V}$ toscrT + 0.85 * scrHand $+15\text{ V}$ toscrT + 0.15 * scrHwithoutctx.clip(). During the discharging half-cycle in RL mode ($V_{\text{in}} = 0\text{ V}$), the inductor back-EMF is $V_L = -I R = -12\text{ V}$, which maps toscrT + 1.41 * scrH— drawing the cyan trace straight through the bottom of the oscilloscope bezel, through the bottom text banner, and off the bottom of the canvas. - Hardcoded & clipped schematic/scope labels:
TransientRenderer2D.tslines 156, 179, 196 hardcode'R (100Ω)','C (100μF)', and'L (100mH)'regardless of the slider settings (and clip'C (100μF)'/'L (100mH)'at the right border of the schematic box, plus'CH2: V_out(t) [Relaxation]'at the right border of the oscilloscope bezel). Line 353 also hardcodesconst v63 = 12.0 * 0.632; // 7.58 V(63.2% (1-1/e) = 7.6V), even when $V_0 \ne 12\text{ V}$ or in RL mode where $V_L(t)$ decays through $V_0 / e \approx 36.8%$ ($4.4\text{ V}$). - Sample-rate claim & multi-cycle recording in RL mode:
sandboxGuides.tsline 417 says "The clock samples every 5 ms, so choose a τ of 10 ms or more: for RL use L = 500 mH and R = 10 Ω (τ = 50 ms)", whereasTelemetryRecordersamples at $50\text{ Hz}$ (every $20\text{–}25\text{ ms}$, giving 10 samples in $200\text{ ms}$). If the learner records within the first charging half-cycle ($t \le 0.20\text{ s} < 0.25\text{ s}$ at default $f = 2\text{ Hz}$), Exponential Regression onv_componentvstrecoversy = 12.0000 · e^(-20.0000x)($R^2 = 1.0000$, $\tau = 1/20 = 50\text{ ms}$). However, if recording continues past $t = 0.50\text{ s}$ into the second square-wave cycle, fittingv_componentagainst cumulativetfits across multiple periodic pulses and yieldsy = 1.8787 · e^(-1.5133x)($R^2 = 0.0712$).
4. Minor guide & overlay issues
maxwell-boltzmannLab Protocol Step 2 (sandboxGuides.tsline 126): Instructs the learner to "compare P · A with N k_B T in the Lab Notebook", whereas the Lab Notebook plots single telemetry channels (empirical_pressure$P$ vsideal_pressure$N k_B T / A$, not the products $P \cdot A$ and $N k_B T$).docs/USER_GUIDE.mdline 174: States "Monitor the live norm readout confirming $\int |\psi|^2 dx \equiv 1.000000$ to 12 decimal places", whereas the readout shows 6 decimal places (1.000000) and Dirichlet boundary reflections change the discrete norm at $\sim 10^{-8}$.VirtualCaliperandVirtualPhotogate(src/ui/components/VirtualCaliper.tsx,VirtualPhotogate.tsx): When both are opened,VirtualPhotogate(fixed top-24 left-6, non-draggable) overlapsVirtualCaliper(left: 200px, top: 150px) and covers the top sliders of the left parameter dock;VirtualCaliperalso uses a hardcoded scale of35 px/m(Measured Distance: 4.00 mat140px) across all 2D and 3D sandboxes regardless of camera zoom or sandbox units (mm,AU,reduced).
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 52 phút
- Pull request đã merge (30 ngày)
- 44
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của danielw-sudo/agentuto
-
[Physics]: tunnelling 'settled' marks T as readable when it is far from the closed formCó thể đã có người làm @danielw-sudo đã nhận 1 ngày trước. Đang mởphysics-review
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
danielw-sudo/agentuto#57 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
physics-review
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
danielw-sudo/agentuto#50 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Wanted: instruments and coursesĐang mởcommunity help wanted proposal
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
danielw-sudo/agentuto#35 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
faculty good first issue help wanted
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
danielw-sudo/agentuto#33 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của danielw-sudo/agentuto
Issue tương tự
-
Waiting for: Product Owner
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
getsentry/sentry-javascript#26203 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
bytedance/flowgram.ai#1235 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
devswha/herdr-web-ui#3325 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100