Skip to content

Conversation

@ChanceSiyuan
Copy link
Collaborator

Summary

  • Restructure getting started guide into 5 clear sections for ~15 minute presentations
  • Reduce document length from 493 to 280 lines
  • Add 3 Mermaid flowcharts for visual understanding (pipeline, factor graph, OSD algorithm)
  • Correct threshold values (BP+OSD ~0.7%, not ~10%)

Structure

  1. The Decoding Problem - circuit-level noise, detection events
  2. Pipeline Overview - Mermaid flowchart, DEM as rulebook
  3. BP Algorithm & Why It Fails - factor graph, degeneracy problem with image
  4. OSD Post-Processing - OSD-0 algorithm steps, soft-weighted cost
  5. Live Demo - minimal code example, threshold results

Removed Content (relocated to other docs)

  • Troubleshooting section
  • Advanced usage patterns
  • Detailed file format specifications
  • Exhaustive CLI options

Test Plan

  • Verify Mermaid diagrams render correctly in GitHub/MkDocs
  • Check all image references resolve (bp_failure_demo.png, osd_success_demo.png, threshold_plot.png)
  • Review document flow for presentation coherence

- Update getting_started.md: fix "Next Steps" to reflect BP+OSD is available
- Expand api_reference.md with comprehensive API documentation:
  - Add DEM functions (extract_dem, build_parity_check_matrix, build_decoding_uai)
  - Add BatchBPDecoder and BatchOSDDecoder documentation
  - Add Syndrome Database functions
  - Add Circuit Generation functions
  - Organize into logical sections
Restructure the getting started guide into 5 clear sections designed
for a ~15 minute presentation:

1. The Decoding Problem - circuit-level noise, detection events
2. Pipeline Overview - Mermaid flowchart, DEM as rulebook
3. BP Algorithm & Why It Fails - factor graph, degeneracy problem
4. OSD Post-Processing - OSD-0 algorithm, soft-weighted cost
5. Live Demo - minimal code example, threshold results

Key changes:
- Reduced from 493 to 280 lines
- Added 3 Mermaid flowcharts for visual understanding
- Condensed code examples to essential snippets
- Corrected threshold values (BP+OSD ~0.7%, not ~10%)
- Moved detailed CLI options to usage_guide.md
- Removed troubleshooting and advanced usage sections
@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.84%. Comparing base (69fe6de) to head (1831b01).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #74   +/-   ##
=======================================
  Coverage   96.84%   96.84%           
=======================================
  Files          10       10           
  Lines         728      728           
=======================================
  Hits          705      705           
  Misses         23       23           
Flag Coverage Δ
unittests 96.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@GiggleLiu GiggleLiu merged commit 36e91f0 into main Jan 26, 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.

3 participants