Commit fe1d1a0
Update core engine logic for rhyme and stress patterns (#16)
* Integrate ULE for dynamic rhyme and stress evaluation
Updates the core engine in App.jsx to utilize the UniversalLinguisticEngine (ULE)
for realistic and robust stress pattern calculation and rhyme consistency checking,
replacing hardcoded iambic generation and mock rhyme-group evaluation.
Includes error handling to fallback safely on missing or invalid analyses.
Co-authored-by: recursive-ai-dev <246750064+recursive-ai-dev@users.noreply.github.com>
* Address SonarCloud warnings in App.jsx
Added console.warn inside the catch blocks of `_getStressPattern` and `_checkRhymeConsistency` in `src/App.jsx` instead of silently catching errors, resolving the SonarCloud Quality Gate failure.
Co-authored-by: recursive-ai-dev <246750064+recursive-ai-dev@users.noreply.github.com>
* Fix Authorization header for OpenRouter API in GitHub Actions
The OpenRouter API returns a 401 "User not found" when the Authorization
header is improperly formatted. This commit fixes the PR review workflow
by correctly referencing the $OPENROUTER_API_KEY environment variable.
Co-authored-by: recursive-ai-dev <246750064+recursive-ai-dev@users.noreply.github.com>
* Remove openrouter PR review workflow and implement G2PEngine
Per user request to focus on MVP capabilities, the failing OpenRouter PR review
workflow has been deleted.
Additionally, the `PhoneticEngine` has been renamed to `G2PEngine` (Grapheme-to-Phoneme)
to better reflect its algorithmic purpose in detecting dynamic rhymes and meters.
Co-authored-by: recursive-ai-dev <246750064+recursive-ai-dev@users.noreply.github.com>
* Address SonarCloud warnings in App.jsx
Added console.warn inside the catch blocks of `_getStressPattern` and `_checkRhymeConsistency` in `src/App.jsx` instead of silently catching errors, resolving the SonarCloud Quality Gate failure.
Co-authored-by: recursive-ai-dev <246750064+recursive-ai-dev@users.noreply.github.com>
* Address SonarCloud warnings in App.jsx
Added console.warn inside the catch blocks of `_getStressPattern` and `_checkRhymeConsistency` in `src/App.jsx` instead of silently catching errors, resolving the SonarCloud Quality Gate failure.
Co-authored-by: recursive-ai-dev <246750064+recursive-ai-dev@users.noreply.github.com>
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent 355fc02 commit fe1d1a0
4 files changed
Lines changed: 21 additions & 218 deletions
File tree
- .github/workflows
- src
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
598 | 606 | | |
599 | 607 | | |
600 | 608 | | |
| |||
843 | 851 | | |
844 | 852 | | |
845 | 853 | | |
| 854 | + | |
846 | 855 | | |
847 | | - | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
848 | 863 | | |
849 | 864 | | |
850 | 865 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
0 commit comments