Skip to content

feat(progress): stage-aware freq estimator + silent-phase detail (M-PROGRESS C6/D3) - #100

Merged
jonathanschultzNU merged 1 commit into
mainfrom
cursor/m-progress-c6d3-c6d9
Aug 30, 2026
Merged

feat(progress): stage-aware freq estimator + silent-phase detail (M-PROGRESS C6/D3)#100
jonathanschultzNU merged 1 commit into
mainfrom
cursor/m-progress-c6d3-c6d9

Conversation

@jonathanschultzNU

Copy link
Copy Markdown
Collaborator

Summary

Closes the last open items on M-PROGRESS roadmap Phase C (C6) and Phase D (D3).

PROG.C6 — Stage-aware frequency cost model

When ≥2 tagged source="app" frequency records carry C4 stages breakdowns, _estimate_frequency_cost learns median Hessian and IR ratios from history instead of the fixed SP-anchored multipliers. Falls back to the existing model when stage data is insufficient.

PROG.D3 — Per-phase live status (mirrors D2 TD-DFT)

Surfaces specific progress in the live status label during long silent kernels:

Phase Signal
NMR GIAO Per-atom shielding (nmr_obj.verbose=4)
Hessian build Per-atom integral contractions (hess_obj.verbose=6)
CCSD Iteration cycles (ccsd.verbose=4)
MP2 Integral transform + kernel milestones (mp2.verbose=5)

D1 generic heartbeat still covers phases without a specific signal (e.g. CCSD(T) triples).

Tests

  • tests/test_progress_phase_c.py — C6 stage-ratio learning + bucketing
  • tests/test_app.py — D3 regex/status label updates
  • Full suite: pytest -m "not network" green
  • pre-commit run --all-files green

Local follow-up

Voilà pass on a long NMR / frequency / MP2 run to confirm status lines read well during silent phases (not closable from cloud).

Open in Web Open in Cursor 

…ROGRESS C6/D3)

C6: _estimate_frequency_cost learns Hessian and IR multipliers from tagged
frequency perf_log stages when >=2 source=app records exist; falls back to
the fixed SP-anchored model otherwise.

D3: surface per-phase progress in the live status label for NMR GIAO
(per-atom shielding), analytical Hessian build (per-atom contractions at
verbose=6), CCSD cycles, and MP2 integral/kernel milestones — mirroring
the existing TD-DFT per-root pattern (D2).

Co-authored-by: NCCU Schultz Lab <nccu-schultz-lab@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@jonathanschultzNU
jonathanschultzNU marked this pull request as ready for review August 30, 2026 14:22
@jonathanschultzNU
jonathanschultzNU merged commit 3493bd8 into main Aug 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants