Skip to content

Conversation

@jeremymanning
Copy link
Member

Summary

Closes #7

Organizes the repository by consolidating test files and debugging notes into their proper directories.

Changes

Test Files Moved to /tests/

  • demos/15-chatbot-evolution/test-*.{js,mjs}tests/test-demo15-*.{js,mjs}
  • demos/15-chatbot-evolution/js/test-parry-runner.jstests/test-demo15-parry-runner.js
  • demos/11-analogies/data/test_*.pytests/test-demo11-*.py

All moved tests have updated import paths and work correctly from their new locations.

Documentation Moved to /notes/

  • Demo 01: FIXES.md, BUG_SUMMARY.md, DEBUGGING_REPORT.md, etc. (8 files)
  • Demo 03: FIXES.md
  • Demo 15: ALICE_.md (8 files), PARRY_.md (4 files), plus bug reports
  • demos/: Bug reports, testing reports, issue tracking (6 files)

All files renamed with consistent demo##- prefix for organization.

Obsolete Files Deleted

From demos/01-eliza/scripts/:

  • Superseded scripts: compare_rules.py, generate_correct_rules.py (now in /scripts/)
  • Obsolete debugging: debug_pattern_expansion.py, debug_specific_patterns.py
  • Legacy tests: test_regex_generation.py, comprehensive_eliza_test.py, etc.

From demos/15-chatbot-evolution/:

  • Redundant docs: CHANGES.md, CODE_CHANGES_SUMMARY.md, FILES_CREATED.md
  • Obsolete: TESTING.md, TESTING_INDEX.md, TESTING_COMPLETE.md, IMPLEMENTATION_SUMMARY.md
  • Debug scripts: demo-conversation.mjs

Test Results

  • Demo 01 ELIZA: 144/144 tests passed
  • Demo 15 ELIZA: 12/12 tests passed
  • Demo 15 PARRY: 14/14 tests passed (100%)
  • Demo 15 ALICE: 95,026 patterns loaded, all tests pass

Verification Checklist

  • All test files in /tests/ with consistent naming
  • All notes in /notes/ with demo prefix
  • No orphaned test files in demo directories
  • All tests run correctly from new locations
  • npm run test:eliza passes
  • npm run test:demo15 passes

🤖 Generated with Claude Code

jeremymanning and others added 3 commits December 27, 2025 23:00
Moves test files from demo directories to centralized tests/ folder:
- demos/15-chatbot-evolution/test-*.{js,mjs} -> tests/test-demo15-*.{js,mjs}
- demos/15-chatbot-evolution/js/test-parry-runner.js -> tests/test-demo15-parry-runner.js
- demos/11-analogies/data/test_*.py -> tests/test-demo11-*.py

Updates all import paths to reference demo files from new location:
- JS imports: ./js/* -> ../demos/15-chatbot-evolution/js/*
- Python paths: uses os.path for reliable path resolution

All moved tests verified working from new location.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Consolidates debugging notes, reports, and fix documentation:

From demos/01-eliza/:
- FIXES.md, BUG_SUMMARY.md, DEBUGGING_REPORT.md, FINAL_FIX_SUMMARY.md
- CONVERSATION_EXAMPLES.md, QUICK_FIX_GUIDE.md, TEST_OUTPUT.txt

From demos/03-embeddings/:
- FIXES.md

From demos/15-chatbot-evolution/:
- ALICE_*.md (8 files) - Alice debugging and integration reports
- PARRY_*.md (4 files) - Parry debugging and fix reports
- BUG_REPORT.md, BUGS_FOUND.md, TEST_RESULTS.md, FINAL_TEST_REPORT.md
- CONVERSATION_EXAMPLES.md

From demos/:
- COMPREHENSIVE_DEMO_TESTING_REPORT.md
- DEMOS_*_BUG_REPORT.md (3 files)
- GITHUB_ISSUES_TO_CREATE.md, ELIZA_VERIFICATION_REPORT.md

All files renamed with consistent demo prefix (e.g., demo15-alice-*).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Deleted from demos/01-eliza/scripts/:
- compare_rules.py, generate_correct_rules.py (superseded by scripts/)
- debug_pattern_expansion.py, debug_specific_patterns.py (obsolete debugging)
- test_regex_generation.py (regex approach replaced with word-based)
- verify_classic_conversation.py (superseded by test suite)
- instructions.txt (duplicate of cs-for-psych source)
- quick_test.sh, comprehensive_eliza_test.py (replaced by JS tests)
- test_js_implementation.cjs, test_synonym_matching.cjs (ad-hoc debugging)

Deleted from demos/15-chatbot-evolution/:
- demo-conversation.mjs (debugging script)
- CHANGES.md, CODE_CHANGES_SUMMARY.md, FILES_CREATED.md (redundant)
- TESTING.md, TESTING_INDEX.md, TESTING_COMPLETE.md (obsolete)
- IMPLEMENTATION_SUMMARY.md (redundant with git history)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jeremymanning jeremymanning merged commit b470711 into main Dec 28, 2025
19 checks passed
@jeremymanning jeremymanning deleted the cleanup/organize-notes-and-tests branch December 28, 2025 04:07
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.

Organize notes and test files into proper folders

2 participants