Skip to content

Conversation

@IlumCI
Copy link
Contributor

@IlumCI IlumCI commented Nov 27, 2025

Description

This PR fixes a widespread misspelling throughout the codebase: "hiearchical" → "hierarchical". The misspelling was present in:

  • 8 file names
  • 3 directory names
  • 97 code references (imports, variable names, strings, documentation)

Changes made:

  • Renamed all files with misspelled "hiearchical" to correctly spelled "hierarchical"
  • Renamed all directories with misspelled "hiearchical" to correctly spelled "hierarchical"
  • Updated all import statements across the codebase
  • Updated all variable names and string literals
  • Updated all documentation files (README.md, docs/*.md, docs/llm.txt)
  • Fixed references in code examples and comments

Files renamed:

  • swarms/structs/hiearchical_swarm.pyhierarchical_swarm.py
  • swarms/structs/hybrid_hiearchical_peer_swarm.pyhybrid_hierarchical_peer_swarm.py
  • swarms/prompts/hiearchical_system_prompt.pyhierarchical_system_prompt.py
  • examples/guides/hiearchical_marketing_team.pyhierarchical_marketing_team.py
  • hiearchical_swarm_example.pyhierarchical_swarm_example.py
  • examples/multi_agent/hiearchical_swarm/hierarchical_swarm/ (directory)
  • examples/multi_agent/hiearchical_swarm/hiearchical_examples/hierarchical_examples/ (directory)
  • examples/multi_agent/hiearchical_swarm/hiearchical_swarm_ui/hierarchical_swarm_ui/ (directory)
  • Plus all files within the renamed directories

Impact:

  • 40 files modified
  • 24 files/directories renamed
  • 97 occurrences corrected
  • No functional changes, only spelling corrections

Issue

#1232

Dependencies

None - CLEANUP

Tag maintainer

@kyegomez


Testing

All existing tests should continue to pass as this is purely a naming/spelling correction with no functional changes. The changes have been verified by:

  • Checking all imports resolve correctly
  • Verifying file paths in documentation are updated
  • Confirming no remaining instances of "hiearchical" in the codebase

Checklist

  • All files renamed correctly
  • All imports updated
  • All documentation updated
  • All code references fixed
  • No remaining misspellings in codebase

📚 Documentation preview 📚: https://swarms--1236.org.readthedocs.build/en/1236/

IlumCI and others added 11 commits November 26, 2025 10:54
…and directories

- Renamed all files with misspelled 'hiearchical' to 'hierarchical'
- Renamed all directories with misspelled 'hiearchical' to 'hierarchical'
- Updated all code references and imports
- Updated all documentation and README files
- Fixed 97 occurrences across 36 files
- Renamed 8 files and 3 directories
Resolved conflicts by keeping our complete directory rename structure.
All files and directories now correctly use 'hierarchical' spelling.
Clean up: removed the old misspelled directory that was kept from remote merge.
Only the correctly renamed hierarchical_swarm structure remains.
@github-actions github-actions bot added documentation Improvements or additions to documentation tests prompts structs labels Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation prompts structs tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant