Add ergonomic helpers to reduce boilerplate by 50-70%#1216
Merged
SkBlaz merged 3 commits intomasterSkBlaz/py3plex:masterfrom Feb 10, 2026
copilot/simulate-user-ergonomicsSkBlaz/py3plex:copilot/simulate-user-ergonomicsCopy head branch name to clipboard
Merged
Add ergonomic helpers to reduce boilerplate by 50-70%#1216SkBlaz merged 3 commits intomasterSkBlaz/py3plex:masterfrom copilot/simulate-user-ergonomicsSkBlaz/py3plex:copilot/simulate-user-ergonomicsCopy head branch name to clipboard
SkBlaz merged 3 commits intomasterSkBlaz/py3plex:masterfrom
copilot/simulate-user-ergonomicsSkBlaz/py3plex:copilot/simulate-user-ergonomicsCopy head branch name to clipboard
Conversation
…uick-start helpers, and validation tests Co-authored-by: SkBlaz <10035780+SkBlaz@users.noreply.github.com>
Co-authored-by: SkBlaz <10035780+SkBlaz@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve ergonomics in user simulation
Add ergonomic helpers to reduce boilerplate by 50-70%
Feb 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Simulated realistic user workflows to identify friction points. Created helper functions that collapse common 10-15 line patterns into 3-5 line calls.
New API Surface
py3plex/ergonomics.py- Four helper functions:quick_network()- Network construction from Python listsquick_analysis()- Single-line centrality computationquick_communities()- One-call detectionshow_network_summary()- Human-readable statsCode Impact
Before (15 lines):
After (5 lines):
Validation
User journey simulations:
examples/getting_started/user_journey_simulation.py- Three personas (first-time, intermediate, advanced)examples/getting_started/quick_start_ergonomics.py- Before/after demonstrationsTests: 17 tests covering all helpers, edge cases, and full pipeline integration.
Bug Fixes
No breaking changes. All additions are opt-in.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.