Django requires __init__.py files in management/ and management/commands/
directories to discover custom management commands. Without these files,
train_hybrid_models and evaluate_hybrid commands won't be found.
This fixes the 'Unknown command: train_hybrid_models' error.
Analyzed each corpus to identify missing themes and vocabulary gaps,
then generated words to fill those gaps with authentic terminology.
📊 New Corpus Sizes (All 1,000+ words!):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 Sci-Fi: 856 → 1,168 words (+312)
Gap fills: AI/ML terms, space exploration, time travel,
alien terminology, weapons/tech warfare, consciousness
Examples: neuralnetwork, temporalparadox, quantumbeam
🧙 Fantasy: 837 → 1,108 words (+271)
Gap fills: magical creatures, spell types, geography,
legendary items, character classes, epic terminology
Examples: dragonrider, spellweaver, legendaryartifact
🍔 Food: 835 → 1,103 words (+268)
Gap fills: international cuisines, cooking methods,
ingredients, textures, flavor profiles, menu terms
Examples: truffleglazed, chargrilled, umamifusion
💼 Corporate: 783 → 1,016 words (+233)
Gap fills: agile/scrum, KPIs, leadership, innovation,
sustainability/ESG, remote work, diversity/inclusion
Examples: thoughtleadership, disrutivetransformation
🔬 Medical: 864 → 1,108 words (+244)
Gap fills: body systems, diseases, treatments,
diagnostics, pharmaceuticals, medical specialties
Examples: cardiovascularology, immunotherapy, pathology
Total growth from start: 4,283 new words across all themed corpora!
Each corpus now exceeds 1,000 words with comprehensive coverage.
Co-authored-by: mfwolffe <wolffemf@dukes.jmu.edu>
Co-authored-by: espadonne <espadonne@outlook.com>
Added 260-290 new words to each themed corpus to enhance variety:
- Sci-Fi: 245 → 536 words (+291) - technobabble and futuristic terms
- Fantasy: 232 → 522 words (+290) - mystical and medieval terms
- Food: 240 → 529 words (+289) - culinary and flavor combinations
- Corporate: 248 → 509 words (+261) - synergistic buzzwords
- Medical: 255 → 546 words (+291) - anatomical and clinical terms
Words generated using thematic prefix/root/suffix combinations
to maintain authentic feel for each corpus category. Classic and
LARGE corpora unchanged as requested.
Co-authored-by: mfwolffe <wolffemf@dukes.jmu.edu>
Co-authored-by: espadonne <espadonne@outlook.com>
Railway root directory is set to /backend, so it wasn't reading
railway.json from the repo root. Moving it into backend/ so Railway
will actually use the startCommand that runs load_corpora.
Co-authored-by: mfwolffe <wolffemf@dukes.jmu.edu>
Co-authored-by: espadonne <espadonne@outlook.com>
Railway was ignoring nixpacks.toml. Using railway.json startCommand
to explicitly run load_corpora during deployment.
Co-authored-by: mfwolffe <wolffemf@dukes.jmu.edu>
Co-authored-by: espadonne <espadonne@outlook.com>
Railway is auto-setting the working directory to backend/ where
requirements.txt is located. Our cd backend commands were failing
because it was trying to cd into backend/backend/.
This should allow load_corpora to run properly.
Co-authored-by: mfwolffe <wolffemf@dukes.jmu.edu>
Co-authored-by: espadonne <espadonne@outlook.com>
This will show more detailed output in Railway logs to help diagnose
why the corpus data isn't loading into the database.
Co-authored-by: mfwolffe <wolffemf@dukes.jmu.edu>
Co-authored-by: espadonne <espadonne@outlook.com>
Railway was failing because it couldn't detect which directory to build
from when seeing both frontend/ and backend/ at the root.
Changes:
- Moved railway.json from backend/ to root
- Created nixpacks.toml to explicitly configure build for backend/
- Nixpacks now knows to build from backend/ directory
- Maintains all deployment steps: migrate, load_corpora, collectstatic
This fixes the Nixpacks "unable to generate build plan" error.
Co-authored-by: mfwolffe <wolffemf@dukes.jmu.edu>
Co-authored-by: espadonne <espadonne@outlook.com>
This new corpus provides maximum variety with 1703 unique words
generated using multiple linguistic strategies:
- Latin, Germanic, and Romance language patterns
- Medical/scientific sounding terms
- Mixed syllable patterns and phonetic combinations
- Consonant-vowel-consonant (CVC) patterns
- Creative prefix-root-suffix combinations
The LARGE corpus is perfect for users who want the most variety
and unpredictability in their generated JubJub words.
Features:
- 🎲 1703 unique words (vs ~400 in other corpora)
- Plausibly deniable - sound like they could be real
- Purple theme (#6B46C1) to stand out
- Automatically integrated with community features
- Works seamlessly with existing corpus selection UI
Co-authored-by: mfwolffe <wolffemf@dukes.jmu.edu>
Co-authored-by: espadonne <espadonne@outlook.com>
Previously, community words (popular words that users have copied or
defined) were only shown when using the 'classic' corpus. This change
enables community word features across all corpus categories (food,
scifi, etc.), allowing each corpus to build its own community of
popular words.
Changes:
- Removed corpus_slug == 'classic' restriction from community logic
- Updated debug logging to track community words by corpus
- Updated comments to reflect multi-corpus support
Co-authored-by: mfwolffe <wolffemf@dukes.jmu.edu>
Co-authored-by: espadonne <espadonne@outlook.com>