Skip to content

Commit 0f64f2d

Browse files
tkapurclaude
andcommitted
Improve progress section extraction in projects list
- Strip placeholder text and ellipsis bullets from progress sections - Fall back to Approach and Plan section when progress is empty (project 25) - Strip caption lines before image tags Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9c302a7 commit 0f64f2d

2 files changed

Lines changed: 29 additions & 12 deletions

File tree

PW45_2026_Boston/gen_projects_list.py

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,15 +164,22 @@ def pick_best_image(text, folder):
164164
desc = extract_section(text, r'^# Project Description', [r'^## ', r'^# '])
165165
desc = re.sub(r'(?m)^\d+\.\s+', '- ', desc)
166166

167-
progress = extract_section(
167+
def clean_progress(raw):
168+
raw = re.sub(r'(?m)^\d+\.\s+', '- ', raw)
169+
raw = re.sub(r'```.*?```', '', raw, flags=re.DOTALL)
170+
raw = re.sub(r'<iframe[^>]*>.*?</iframe>', '', raw, flags=re.DOTALL)
171+
raw = re.sub(r'(?m)^https?://\S+\s*$', '', raw)
172+
raw = re.sub(r'\*\(To be filled.*?\)\*', '', raw, flags=re.DOTALL)
173+
raw = re.sub(r'(?m)^-\s*…\s*$', '', raw)
174+
raw = re.sub(r'\n{3,}', '\n\n', raw).strip()
175+
return raw
176+
177+
progress = clean_progress(extract_section(
168178
text,
169179
r'^## (?:Progress[^\n]*|Objectives and Progress|Results and Outputs[^\n]*)',
170-
[r'^## ', r'^# '])
171-
progress = re.sub(r'(?m)^\d+\.\s+', '- ', progress)
172-
progress = re.sub(r'```.*?```', '', progress, flags=re.DOTALL)
173-
progress = re.sub(r'<iframe[^>]*>.*?</iframe>', '', progress, flags=re.DOTALL)
174-
progress = re.sub(r'(?m)^https?://\S+\s*$', '', progress)
175-
progress = re.sub(r'\n{3,}', '\n\n', progress).strip()
180+
[r'^## ', r'^# ']))
181+
if not progress:
182+
progress = clean_progress(extract_section(text, r'^## Approach and Plan', [r'^## ', r'^# ']))
176183

177184
projects.append(dict(title=title, proj_url=proj_url, img_url=img_url,
178185
desc=desc, progress=progress, lead=lead, repo_url=repo_url,

PW45_2026_Boston/projects_list.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ We’re building a closed-loop system with two components:
152152

153153
The pipeline handles most de-identification automatically, but reviewers still face significant cognitive load when inspecting every metadata diff, OCR-flagged region, and fan crop. The OHIF mode currently surfaces areas in the DICOM metadata that require verification based on predefined rules but reviewers also need tools to edit PHI masks, OCR bounding boxes for non-PHI extraction, and fan geometry for fan-only pixel extraction.
154154

155+
**Progress and Next Steps**
156+
157+
_No response_
158+
155159

156160
10. **[Fine-tuning SimCortex Using Manually Corrected Cortical Annotations](https://projectweek.na-mic.org/PW45_2026_Boston/Projects/FineTuningSimcortexUsingManuallyCorrectedCorticalAnnotations/)** (Kaveh Moradkhani @ École de technologie supérieure, +) ([Neuro-iX/SimCortex](https://github.com/Neuro-iX/SimCortex))
157161

@@ -438,11 +442,10 @@ For DICOM persistence, standards context, and recommended interchange with resea
438442

439443
**Progress and Next Steps**
440444

441-
*(To be filled in during and after the event)*
442-
443-
-
444-
-
445-
-
445+
- **DICOM-SEG review** — Summarize standard history (binary SEG → label-map Sup 243), tooling roles (dcmjs, highdicom, dcmqi, etc.), and recommended save/load paths; validate against [PR #5806](https://github.com/OHIF/Viewers/pull/5806) ([background notes](#dicom-seg-and-format-interchange)).
446+
- **Reproduce overlapping-segment issues** — Triage reports (e.g. [#5453](https://github.com/OHIF/Viewers/issues/5453), [Cornerstone3D PR #2170](https://github.com/cornerstonejs/cornerstone3D/pull/2170)) across Stack + MPR and Volume viewports.
447+
- **Fix overlapping segment rendering** — Investigate segment blending/ordering in Cornerstone3D so multiple overlapping segments render and interact correctly in all target viewport types.
448+
- **Connect stats and bidirectional measurements** — Verify segmentation statistics (volume, HU stats, voxel count) and bidirectional tool output remain correct when segments overlap and when switching between Stack/MPR and Volume layouts.
446449

447450

448451
26. **[Slicer Chest Imaging Platform Reboot](https://projectweek.na-mic.org/PW45_2026_Boston/Projects/SlicerChestImagingPlatformReboot/)** (Kalysta Makimoto @ Brigham and Women's Hospital, +) (no github repo yet)
@@ -579,6 +582,13 @@ The initial user interface for the generator will be a command-line (CLI) tool.
579582

580583
In practice, DICOM De-ID outputs can vary depending on modality, imaging protocols, contractual requirements, and application domains. However, there remains a consistent need to validate that outputs conform to a predefined set of rules. This library represents a step forward in programmatically generating verifiable rules for reliable and consistent implementation.
581584

585+
**Progress and Next Steps**
586+
587+
We want to create a well tested CLI based tool that takes in user input and generates the following:
588+
589+
- A reference list of itemized, actionable rules
590+
- A unit and end-to-end test specification that users can apply to their specific use cases
591+
582592

583593
32. **[That Rendering Thing](https://projectweek.na-mic.org/PW45_2026_Boston/Projects/ThatRenderingThing/)** (Steve Pieper @ Isomics, +) ([pieper/SlicerCL](https://github.com/pieper/SlicerCL))
584594

0 commit comments

Comments
 (0)