instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VOICEVOX__voicevox__384 | VOICEVOX/voicevox | 384 | defect | e05bf23d049b1f83a6fac62730ccfed79ae4e2e7 | 01e4081e830bc17ad755be00bc2d1c3c22973fa6 | セル追加時に、現在の話速等のパラメータを維持する | ## 内容
現在の仕様では、+ボタンや文章貼り付けなどで新しいセルが作成されると、パラメータがデフォルトにリセットされます。
同じキャラクターを継続して使う場合は同設定で利用される場合が多いはずなので、現在のセルのパラメータを引き継いで作成されるように変更しました。
<!--
プルリクエストの内容説明を端的に記載してください。
-->
## 関連 Issue
ref #383
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #0
-->
## スクリーンショット・動画など
h... | diff --git a/src/App.vue b/src/App.vue
index f7181acc1f..41fd8fc8ba 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -21,6 +21,7 @@ export default defineComponent({
store.dispatch("START_WAITING_ENGINE", undefined);
store.dispatch("GET_USE_GPU", undefined);
+ store.dispatch("GET_INHERIT_AUDIOINFO", undefine... | 14 | 13 | 2 | [{"id": "G0", "claim": "Copying the whole AudioQuery is problematic because it also contains text-dependent settings such as accentPhrases and kana; only the values other than those should be copied.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
VOICEVOX__voicevox__402 | VOICEVOX/voicevox | 402 | defect | eab5ec6706e31a3d47904f67c1f95817873e8a06 | fd2bdf79858bef04be928b03068c26999c037960 | Voicing - 無声化を切り替える機能 | ## 内容
The voicing feature in #213 , with neater implantation but weaker usability.
It's been a month and I finally get tired of the history problem and decided to have a compromised solution instead.
Now the pitch history will be stored in `AudioParameter.vue` as data `lastPitch` and will be restored when swit... | diff --git a/src/components/AudioDetail.vue b/src/components/AudioDetail.vue
index ef1a044128..330962e6fc 100644
--- a/src/components/AudioDetail.vue
+++ b/src/components/AudioDetail.vue
@@ -5,7 +5,7 @@
<div class="detail-selector">
<q-tabs vertical class="text-secondary" v-model="selectedDetail">
... | 5 | 5 | 1 | [{"id": "G0", "claim": "The nested if/else in getHoveredClass could be simplified by using an isHover boolean that defaults to false and is set to true on hover.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Vue2-style options-API `watch` b... | null |
VOICEVOX__voicevox__497 | VOICEVOX/voicevox | 497 | defect | 92b2ed5b2d8a7db0bc1c47d1e98c204211b36ff2 | d9bfdc674b47ac10eb212c45abb3f2b31c99a27d | 利用率の収集のためのGoogle Tag Managerの組み込み | ## 内容
Google AnalyticsでUIのクリックやウインドウサイズ等の情報を収集し、改善に利用できるようにGoogle Tag Managerを組み込みます
収集はオプトインとし、起動時、および設定からON/OFF切り替えられるようにしています
## 関連 Issue
ref #487
## スクリーンショット・動画など

 button feels somewhat too inconspicuous; consider applying a border in the style so it feels more like a button.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Showing a persistent dialog first thing at ... | null |
VOICEVOX__voicevox__578 | VOICEVOX/voicevox | 578 | defect | 344c7cb0fc23dbc2ccedfe15c9bc3e3a19f1c12f | 493eb83d49e9c68265389a6b2c18ba0745159c95 | 再生位置指定機能と、再生位置フォーカス・スクロール機能の追加 | ## 内容
<!--
プルリクエストの内容説明を端的に記載してください。
-->
題の通り
## 関連 Issue
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #0
-->
close #491
## スクリーンショット・動画など
<!--
UIを変更した際は、変更がわかるような動画・スクリーンショットがあると助かります。
-->
https://user-images.githubusercontent.com/34832037/145720111-817... | diff --git a/src/components/AudioDetail.vue b/src/components/AudioDetail.vue
index 9c93e00886..0aa2b9b3a0 100644
--- a/src/components/AudioDetail.vue
+++ b/src/components/AudioDetail.vue
@@ -31,11 +31,14 @@
</div>
</div>
- <div class="overflow-hidden-y accent-phrase-table">
+ <div class="ove... | 18 | 15 | 1 | [{"id": "G0", "claim": "The focus highlight is a temporary light-red background that does not respect themes; a focus color should be decided and moved into the theme JSON.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added AUDIO_ELEM_CURRENT... | null |
VOICEVOX__voicevox__620 | VOICEVOX/voicevox | 620 | defect | f1a5a0049d58b191e573dd9be69adc1f7287efd9 | 620f5b76c9e261e56ddd3282dd0dfc716f54f26e | お問い合わせ画面の増設(#615) | ## 内容
[ディスカッション:使い方の一番下にあるお問い合わせに関して #615 ](https://github.com/VOICEVOX/voicevox/issues/615)でしているお問い合わせ画面の追加のプルリクです。
## 関連 Issue
close #615
## その他
`src/components/ContactInfo.vue`の`Contact.value = md.render(await store.dispatch("GET_Coninfo_TEXT"));`がうまくビルド通らなくて悩み中。
| diff --git a/public/Contact.md b/public/Contact.md
new file mode 100644
index 0000000000..198561ca35
--- /dev/null
+++ b/public/Contact.md
@@ -0,0 +1,41 @@
+# お問い合わせ
+
+## ご感想・ご要望
+ぜひ Twitter にてハッシュタグ `#VOICEVOX` を付けてツイートしてください。(開発の励みになります。)
+
+## 不具合・バグ報告
+以下の内容を添えてハッシュタグ `#VOICEVOX` を付けてツイートしていただくか、VOICEVOX公式([@voi... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename the new contact API so its letter case matches the surrounding code and the name is understandable without context: GET_Coninfo_TEXT should become GET_CONTACT_TEXT in the store and getConinfo_Text should become getContactText in the sandbox type.", "category": "maintainability", "verdict"... | null |
VOICEVOX__voicevox__621 | VOICEVOX/voicevox | 621 | defect | f1a5a0049d58b191e573dd9be69adc1f7287efd9 | 76180f282d0587efb635a7aaa3e49d63b272052f | Mac: ネイティブの三色ボタン(最小化・最大化・閉じるボタン)を使うように変更 | ## 内容
Mac 版の三色ボタンを自前のもの(`<min-max-close-buttons />`)から OS ネイティブのものに変更します。
Mac 版の三色ボタンはこれまでネイティブのものではなく、挙動を真似たものを自前で用意していました。しかし、マウスオーバーしたときにボタンの役割を説明する模様が表示されないなど、ネイティブのボタンに比べて機能が欠けていたり異なっていたりしました。
## 関連 Issue
ref #572
## スクリーンショット・動画など
https://user-images.githubusercontent.com/41382894/147450662-914... | diff --git a/src/background.ts b/src/background.ts
index b8e185356e..32821dc721 100644
--- a/src/background.ts
+++ b/src/background.ts
@@ -5,7 +5,15 @@ import dotenv from "dotenv";
import treeKill from "tree-kill";
import Store from "electron-store";
-import { app, protocol, BrowserWindow, dialog, Menu, shell } fro... | 3 | 3 | 2 | [{"id": "G0", "claim": "When the OS display theme is dark, the native traffic-light buttons disappear from the inactive window leaving only blank space, and they should stay visible like in Atom or VSCode.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
VOICEVOX__voicevox__716 | VOICEVOX/voicevox | 716 | defect | c29f56f0bc2bff5274d764414f6f876362c007ea | e9d756b6eed4628d24c20e763b77ac7944bf57a1 | 辞書の編集UIを追加 | ## 内容
<!--
プルリクエストの内容説明を端的に記載してください。
-->
題の通り。
詳細として、以下のことが可能です
- 登録単語の一覧化
- 50音順にソートして表示されます
- 単語の新規登録
- 単語の編集
- 新規登録と編集では、表記、読み、アクセント位置の調整が可能です
- 単語の削除
- 編集した単語パラメータのリセット
- 登録した・登録する単語のプレビュー再生機能
## 関連 Issue
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #... | diff --git a/src/components/DictionaryManageDialog.vue b/src/components/DictionaryManageDialog.vue
new file mode 100644
index 0000000000..c5a33c2f8c
--- /dev/null
+++ b/src/components/DictionaryManageDialog.vue
@@ -0,0 +1,777 @@
+<template>
+ <q-dialog
+ maximized
+ seamless
+ transition-show="jump-up"
+ t... | 8 | 5 | 2 | [{"id": "G0", "claim": "On first run the feature always throws an error (Failed to fetch AccentPhrases for the text \"アアアワ'\"); if it is hard to fix, making the feature experimental would also be acceptable.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
VOICEVOX__voicevox__767 | VOICEVOX/voicevox | 767 | defect | 4a07735967e03aaf31e821e5726c3db73c89370d | 48d18860b9dde5fbbd5ef8e864ea40a62408ce5c | 辞書ダイアログからengineInfoを取り除く | ## 内容
辞書ダイアログコンポーネントからエンジンの情報を取り除いて、vuex側で呼ぶようにしました。
## 関連 Issue
ref #724
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #0
-->
| diff --git a/src/components/DictionaryManageDialog.vue b/src/components/DictionaryManageDialog.vue
index 33145ce222..fa8d5bd689 100644
--- a/src/components/DictionaryManageDialog.vue
+++ b/src/components/DictionaryManageDialog.vue
@@ -218,7 +218,6 @@
<script lang="ts">
import { computed, defineComponent, nextTick, re... | 1 | 1 | 0 | [{"id": "G0", "claim": "The 'Dictionary Store Types' comment block added in src/store/type.ts is badly formatted and should be reformatted as the reviewer's suggestion shows.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
VOICEVOX__voicevox__773 | VOICEVOX/voicevox | 773 | defect | f83ca5f5a63be00638c5d64eb06edc540824d3bc | 2386976a4e9ce93dbc974cbd07c2d515c85de6c4 | テキストをaudio cellにペーストした時の挙動を変更できるようにする | ## 内容
radioボタン「句点と改行」、「改行」、「オフ」を設定に追加しペーストの挙動を「句点と改行で分割」、「改行のみで分割」、「分割しない」のいずれかに変更できるようにしました。
## 関連 Issue
close #105
## スクリーンショット・動画など
<!--
UIを変更した際は、変更がわかるような動画・スクリーンショットがあると助かります。
-->
## その他
| diff --git a/src/background.ts b/src/background.ts
index 7931b48260..0340ff5529 100644
--- a/src/background.ts
+++ b/src/background.ts
@@ -229,6 +229,11 @@ const store = new Store<{
outputStereo: { type: "boolean", default: false },
outputSamplingRate: { type: "number", default: 24000 },
audi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The enum value \"BOTH\" is unclear about what it covers, so it should be renamed to something like \"PERIOD_AND_NEW_LINE\" (noting it is not strictly a period).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VOICEVOX__voicevox__789 | VOICEVOX/voicevox | 789 | defect | 3641a4bacc67bcbf3095b72b9c2272f93506f92d | 61eb4c9f384f65072c511fc4a06359a16ec990a5 | 書き出しファイル名をカスタマイズ可能にする | ## 内容
書き出すファイル名をユーザが自由に組み立てられるようになる機能を追加しました。
文字列にタグを指定すると実際のデータに置き換えられて出力されます。
`$キャラ$.wav` のような指定にして音声を一括出力しようとした場合の重複解消ロジックが重めだったので、
コード差分の少ない「$連番$を必須にする」ことで対処しています。
## 関連 Issue
close #569
## スクリーンショット・動画など
### ダイアログの動作
でengineIdが導入される予定でし... | diff --git a/.env.production b/.env.production
index a686d685e1..efd4523c1d 100644
--- a/.env.production
+++ b/.env.production
@@ -1,6 +1,6 @@
DEFAULT_ENGINE_INFOS=`[
{
- "key": "074fc39e-678b-4c13-8916-ffca8d505d1d",
+ "id": "074fc39e-678b-4c13-8916-ffca8d505d1d",
"executionEnabled": true,... | 3 | 1 | 0 | [{"id": "G0", "claim": "The engine identifier added in .env.production is a UUID, whereas the reviewer expected a meaningful string such as `voicevox-official`.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Managing engines by engineKey rather than engine... | null |
VOICEVOX__voicevox_engine__1004 | VOICEVOX/voicevox_engine | 1,004 | defect | 46ea0256f6823969463ebf458d5c24a8fc4c7fb3 | 0e2189c670adbac741db4efaf02627f885e55027 | refactor[tts_pipeline]: OJT 音素をバリデーションする | ## 内容
OJT 音素のバリデーション追加
VOICEVOX ドメインへ渡されていた `xx` OJT音素を `Label` クラスの段階でエラーとした。
また OJT出力そのもののバリデーションをおこなった。
現行の `xx` に対する振る舞いを記述した(臨時の)異常系テスト `test_create_accent_phrases_toward_unknown()` を廃止した。
## 関連 Issue
https://github.com/VOICEVOX/voicevox_engine/pull/958#discussion_r1438836853
#982 | diff --git a/test/tts_pipeline/test_text_analyzer.py b/test/tts_pipeline/test_text_analyzer.py
index ebaf30977..f7bc95aa0 100644
--- a/test/tts_pipeline/test_text_analyzer.py
+++ b/test/tts_pipeline/test_text_analyzer.py
@@ -1,6 +1,13 @@
from unittest import TestCase
-from voicevox_engine.model import AccentPhrase, ... | 6 | 6 | 0 | [{"id": "G0", "claim": "The hard-coded non-OJT feature string is unreadable because it is unclear which part is the phoneme; extract the phoneme into a variable (e.g. non_ojt_phoneme = \"hoge\") and build the feature with an f-string.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "... | null |
VOICEVOX__voicevox_engine__1064 | VOICEVOX/voicevox_engine | 1,064 | defect | 346e1f7333fd5fdb5c43902e92bf2ac3f082ea1f | 9bc56931d1d90121f68a8362eec93ebcf653ad7c | 整理: e2e TTS テスト | ## 内容
e2e TTS テストの追加によるリファクタリング
## 関連 Issue
ref #730
## 依存 issues
(updated) Review可能。
- [x] https://github.com/VOICEVOX/voicevox_engine/issues/730#issuecomment-1956510879 | diff --git "a/test/e2e/__snapshots__/test_tts/test_\343\203\206\343\202\255\343\202\271\343\203\210\343\201\250\350\251\261\350\200\205ID\343\201\213\343\202\211\351\237\263\345\243\260\343\202\222\345\220\210\346\210\220\343\201\247\343\201\215\343\202\213.json" "b/test/e2e/__snapshots__/test_tts/test_\343\203\206\343... | 2 | 1 | 0 | [{"id": "G0", "claim": "Consider adding a hash_binary-style helper for hashing binary data such as wav bytes, which the reviewer would have implemented and proposed if time had permitted.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use syrupy's per-file... | null |
VOICEVOX__voicevox_engine__1074 | VOICEVOX/voicevox_engine | 1,074 | defect | 0c698d6a9fcdefa5ade25a0191aba7820d5ee5e9 | 678df1824d351d50b662c5f0a82838b7232335e8 | 追加: Bump/202402-dev | ## 内容
開発関連依存パッケージの更新 @ 202402
## 関連 Issue
step1 of #1072
## その他
Bumpの結果、lintの更新が発生しました。
diff が見づらい場合、commit 単位で review 可能になっているのでそちらをご参照下さい。 | diff --git a/build_util/check_release_build.py b/build_util/check_release_build.py
index a04c53d39..ea3724a59 100644
--- a/build_util/check_release_build.py
+++ b/build_util/check_release_build.py
@@ -1,6 +1,7 @@
"""
ビルド結果をテストする
"""
+
import argparse
import json
import time
diff --git a/poetry.lock b/poetry.lock
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a memo to the `# noqa B035` comment on the mora_kana_to_mora_phonemes dict comprehension noting that overwriting can occur if keys are not unique but is ignorable when the key (kana) is unique, so future readers need not search for the reason.", "category": "documentation", "verdict": "suppo... | null |
VOICEVOX__voicevox_engine__1187 | VOICEVOX/voicevox_engine | 1,187 | defect | e5635cbcad3436181ad3be4e9877ef1675e9680a | e27226037699086c74793e6f8cb33d512b3e5ec5 | [ソング] 音量更新APIを追加 | ## 内容
<!--
プルリクエストの内容説明を端的に記載してください。
-->
題のとおりです。
合わせて、少々リファクタをしています。
## 関連 Issue
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #0
-->
close #1185
## スクリーンショット・動画など
<!--
UIを変更した際は、変更がわかるような動画・スクリーンショットがあると助かります。
-->
## その他
| diff --git a/voicevox_engine/app/routers/tts_pipeline.py b/voicevox_engine/app/routers/tts_pipeline.py
index 03136a7ee..27ab97f43 100644
--- a/voicevox_engine/app/routers/tts_pipeline.py
+++ b/voicevox_engine/app/routers/tts_pipeline.py
@@ -345,6 +345,26 @@ def sing_frame_audio_query(
outputStereo=False,
... | 9 | 4 | 1 | [{"id": "G0", "claim": "The sing_frame_volume style_id parameter should use FastAPI's Annotated typing helper (Annotated[StyleId, Query(alias=\"speaker\")]) instead of the default-value form that needs a noqa lint suppression.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
VOICEVOX__voicevox_engine__1199 | VOICEVOX/voicevox_engine | 1,199 | defect | 9923795d89cda8798e0bb1582cce645828020697 | 845f7f25e56e9e135eca716203560a854d199d64 | 追加: 音量更新API関連テストの追加 | ## 内容
- https://github.com/VOICEVOX/voicevox_engine/issues/1188
の解決PRです。
いくつか課題点があるのでコード内にコメントしていきます。
## 関連 Issue
resolve #1188
## その他
| diff --git a/test/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_create_sing_volume_from_phoneme_and_f0_output.json b/test/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_create_sing_volume_from_phoneme_and_f0_output.json
new file mode 100644
index 000000000..cc38d7b9c
--- /dev/null
+++ b/test/tts_pipeli... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new test builds its inputs by calling another engine function, so it may not be a true unit test and will also fail if that other function breaks; a NOTE comment explaining this workaround should be added so future debuggers are not confused.", "category": "maintainability", "verdict": "supp... | null |
VOICEVOX__voicevox_engine__1202 | VOICEVOX/voicevox_engine | 1,202 | defect | 743c2b8f8ebf639dedfd995730a5ea4c091da731 | 454be59f59e9185f72c2d8cdccb35517bf52c27f | 整理: `Speaker` と内部型の分離 | ## 内容
整理: VV API `Speaker` 型と ENGINE 内部型(`CoreSpeaker`・`EngineSpeaker`)を分離してリファクタリングした。
属性 `SpeakerStyle` も `CoreSpeakerStyle` として分離したため、VV API 話者情報と Core 話者情報は完全に分離された。
これによりピッチ範囲情報を任意の箇所(ENGINE or CORE)に実装可能となる。
## 関連 Issue
ref https://github.com/VOICEVOX/voicevox_engine/pull/1121#discussion_r155089288... | diff --git a/voicevox_engine/metas/Metas.py b/voicevox_engine/metas/Metas.py
index 0cee7eb0c..99cec6444 100644
--- a/voicevox_engine/metas/Metas.py
+++ b/voicevox_engine/metas/Metas.py
@@ -49,35 +49,20 @@ class SpeakerSupportedFeatures(BaseModel):
)
-class CoreSpeaker(BaseModel):
+class Speaker(BaseModel):
... | 4 | 4 | 1 | [{"id": "G0", "claim": "The `supported_features` field in `Speaker` should be moved to the bottom (with `name` at the top) to match the field order of the other models.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In `cast_styles`, `id=core.id... | null |
VOICEVOX__voicevox_engine__1297 | VOICEVOX/voicevox_engine | 1,297 | defect | e3d49cc03390db9bf9feb8076991e2691d7b7507 | c6e7aaf898a4b0eec77a2b49027f1b871c083d8e | 整理: TTS テスト入力をリアルにし警告を解消 | ## 内容
概要: TTS mock 出力をリアルにし警告を解消してリファクタリング
talk の一部に、全音素長を 0 とする非現実的な出力の mock があった。
これにより mock core 内の NumPy 計算が危険入力アリと判断し、テスト時に warning を出していた。
このような背景から、TTS mock 出力をリアルにし警告を解消してリファクタリングすることを提案します。
## 関連 Issue
無し | diff --git a/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_synthesize_wave_output.json b/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_synthesize_wave_output.json
index eadd4021a..9c1fa9785 100644
--- a/test/unit/tts_pipeline/__snapshots__/test_tts_engine/test_mocked_synthesize_wav... | 6 | 4 | 2 | [{"id": "G0", "claim": "The snapshot test mismatches on macOS because the snapshot values were generated on Linux, apparently due to numeric-precision divergence.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The intent behind using round_value=1 i... | null |
VOICEVOX__voicevox_engine__1307 | VOICEVOX/voicevox_engine | 1,307 | defect | 7e214adb10bc8e4a19140a380660ab3c04979868 | 0c98e5d914d4c5d58339111d5a9a71b581082fda | 整理: コアが見つからない例外を追加 | ## 内容
概要: ドメイン内 `HTTPException` を新規の「コアが見つからない」例外に置き換えてリファクタリング
#1227 でコア取得がドメインへ移され、その際に `HTTPException` も変更されず移動された。FIXME にある通り、これはサーバーとドメインのミスマッチであり修正すべきである。
新規例外を作成した場合、この例外をサーバー側のどこでキャッチするか(`application.py` か routers か)設計する必要がある。コアは多数の router で利用されているため、router でキャッチしようとすると各 router にキャッチ実装が必要で煩雑である。一方、`appli... | diff --git a/test/e2e/__snapshots__/test_missing_core/test_missing_core_422.json b/test/e2e/__snapshots__/test_missing_core/test_missing_core_422.json
new file mode 100644
index 000000000..e7f74b496
--- /dev/null
+++ b/test/e2e/__snapshots__/test_missing_core/test_missing_core_422.json
@@ -0,0 +1,3 @@
+{
+ "message": ... | 3 | 3 | 0 | [{"id": "G0", "claim": "The comment justifying the global handler (\"コアは複数 router 内で呼ばれるためグローバルなハンドラが相応しい\") is not accurate — applying the handler to the individual routers that use the core would be simpler, so the comment should be simplified to something like \"コアのエラー\".", "category": "documentation", "verdict": "s... | null |
VOICEVOX__voicevox_engine__1309 | VOICEVOX/voicevox_engine | 1,309 | defect | 7e214adb10bc8e4a19140a380660ab3c04979868 | d896ec21b308fe33ae28fae6c8ae693e224585ac | 整理: エンジンが見つからない例外を追加 | ## 内容
概要: ドメイン内 `HTTPException` を新規の「エンジンが見つからない」例外に置き換えてリファクタリング
#1234 でエンジン取得がドメインへ移され、その際に `HTTPException` も変更されず移動された。これはサーバーとドメインのミスマッチであり修正すべきである。
新規例外を作成した場合、この例外をサーバー側のどこでキャッチするか(`application.py` か routers か)設計する必要がある。エンジンは複数の router で利用されているため、router でキャッチしようとすると各 router にキャッチ実装が必要で煩雑である。一方、`application... | diff --git a/test/e2e/__snapshots__/test_missing_engine/test_missing_engine_422.json b/test/e2e/__snapshots__/test_missing_engine/test_missing_engine_422.json
new file mode 100644
index 000000000..b36c06a71
--- /dev/null
+++ b/test/e2e/__snapshots__/test_missing_engine/test_missing_engine_422.json
@@ -0,0 +1,3 @@
+{
+ ... | 2 | 2 | 2 | [{"id": "G0", "claim": "Raising EngineNotFound in TTSEngineManager.get_engine conflates the TTSEngine with the VOICEVOX core, and showing that error directly to users is unlikely to help them, so the router should catch it and rewrite the message into a core-oriented hint.", "category": "design", "verdict": "supported"... | null |
VOICEVOX__voicevox_engine__1317 | VOICEVOX/voicevox_engine | 1,317 | defect | fb0d6607df61af321ff97430ccd2da5310383ef1 | 928c5a0a8680bcdce1f0742a63724ae05cd93695 | 整理: コア・エンジンでバージョンを指定しない場合、暗黙的に最新版を取得する処理を削除 | ## 内容
`get_core()` / `get_engine()` における最新版暗示的取得を削除するリファクタリングを提案します。
`CoreManager.convert_version_format()` を新設し、`core_version=None` を明示的に変換します。
`get_core()` / `get_engine()` はこの明示化されたバージョンのみを受け取ります。
このリファクタリングの結果、`TTSEngineManager.latest_version()` が不要となったため削除します。
## 関連 Issue
ref https://github.com/V... | diff --git a/run.py b/run.py
index 5b6364813..339212ce4 100644
--- a/run.py
+++ b/run.py
@@ -272,7 +272,7 @@ def main() -> None:
)
tts_engines = make_tts_engines_from_cores(core_manager)
assert len(tts_engines.versions()) != 0, "音声合成エンジンがありません。"
- latest_core_version = tts_engines.latest_version()
+ ... | 4 | 3 | 1 | [{"id": "G0", "claim": "The `APICoreVersion: TypeAlias = str | None` definition is dangerous because code written against it may assume the value is merely optional when in fact `None` means latest.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "convert_... | null |
VOICEVOX__voicevox_engine__1323 | VOICEVOX/voicevox_engine | 1,323 | defect | 718c89e4d68f60061c294acd589d1f4744d841c9 | 7458dbed79a6a1a0d7df92c79e863400a6c9dfa2 | 追加: デフォルトプリセット機能を削除しプリセット保存先を指定する機能へ変更 | ## 内容
`presets.yaml` を削除するリファクタリングを提案します。
機能上の変化はありません。ビルド・`GET /presets`・`POST /add_preset` の正常機能を確認済みです。
## 関連 Issue
step1 of #876
resolve #1243 (final step 🎉)
| diff --git a/Dockerfile b/Dockerfile
index d7019f2f1..2fcb5acf7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -227,7 +227,7 @@ COPY --from=download-onnxruntime-env /opt/onnxruntime /opt/onnxruntime
# Add local files
ADD ./voicevox_engine /opt/voicevox_engine/voicevox_engine
ADD ./docs /opt/voicevox_engine/docs
-ADD ./... | 3 | 3 | 2 | [{"id": "G0", "claim": "Hiroshiba proposes deleting presets.yaml together with its bundled sample preset content rather than keeping the sample in the file (with docs or a model as alternatives), because the sample only appearing in code is contrary to intent.", "category": "design", "verdict": "supported", "priority":... | null |
VOICEVOX__voicevox_engine__1333 | VOICEVOX/voicevox_engine | 1,333 | defect | d04f70236b31b0d99f30c18ef9eb089f64cef3de | c0f2d8366191272dac9d760c51cb8f60d0ceb568 | 整理: 内部型 `WordProperty` を追加 | ## 内容
概要: 内部型 `SimpleUserDictWord` を追加してリファクタリング
VIOCEVOX ENGINE のユーザー辞書機能には 2 種類のワード概念がある。
一方は OpenJTalk の単語であり、`UserDictWord` で表現される。このクラスは辞書のインポート/エクスポートで API に登場する。
他方は VOICEVOX の簡易単語であり、属性の集合(`surface` / `pronunciation` / `accent_type` / `word_type` / `priority`)で表現される。これら属性は単語 API で利用され、ENGINE 内部で `User... | diff --git a/test/user_dict/test_user_dict.py b/test/user_dict/test_user_dict.py
index 915a3887d..277dcedc1 100644
--- a/test/user_dict/test_user_dict.py
+++ b/test/user_dict/test_user_dict.py
@@ -11,6 +11,7 @@
part_of_speech_data,
)
from voicevox_engine.user_dict.user_dict import (
+ SimpleUserDictWord,
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new internal dataclass SimpleUserDictWord should carry a comment/docstring explaining that it is for engine-internal use, to avoid confusion for readers unfamiliar with the layering.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
VOICEVOX__voicevox_engine__1346 | VOICEVOX/voicevox_engine | 1,346 | defect | 1269fabb63743c9f7cfecd3eadfd6b508bc42b4a | 8abcc739f3c18a5fe196f772bb205a35a666e339 | 整理: プリセットへモデルモジュールを追加 | ## 内容
プリセットに関するモデルモジュールを追加するリファクタリングを提案します。
## 関連 Issue
ref https://github.com/VOICEVOX/voicevox_engine/pull/1278#discussion_r1616891969 | diff --git a/build_util/make_docs.py b/build_util/make_docs.py
index 696a38041..bcd61461b 100644
--- a/build_util/make_docs.py
+++ b/build_util/make_docs.py
@@ -7,7 +7,7 @@
from voicevox_engine.dev.core.mock import MockCoreWrapper
from voicevox_engine.dev.tts_engine.mock import MockTTSEngine
from voicevox_engine.eng... | 1 | 1 | 0 | [{"id": "G0", "claim": "The module docstring of voicevox_engine/preset/model.py should read \"プリセット機能に関して API と ENGINE 内部実装が共有するモデル\" instead of \"プリセット設定機能に関して API と ENGINE 内部実装が共有するモデル\" (a minor wording fix proposed via a suggestion block).", "category": "documentation", "verdict": "supported", "priority": "P2", "sc... | null |
VOICEVOX__voicevox_engine__1385 | VOICEVOX/voicevox_engine | 1,385 | defect | 795278717d5bcf1752d07cb0b11602b9243d450e | 07133667f3346008b53d21a919759dae363062c6 | 整理: `Character` 利用範囲を拡大 | ## 内容
内部構造体 `Character` の利用範囲を拡大するリファクタリングを提案します。
- `load_combined_metas()` 戻り値
- `filter_speakers_and_styles()` 引数
を `Character` 化しました。
`Speaker` との界面がエンジン内部に未だ存在するため、キャストのためのユーティリティを追加しました。
## 関連 Issue
part of #1313 | diff --git a/test/unit/test_metas_store.py b/test/unit/test_metas_store.py
index babbbdc49..ed907e3a1 100644
--- a/test/unit/test_metas_store.py
+++ b/test/unit/test_metas_store.py
@@ -1,7 +1,10 @@
import uuid
from voicevox_engine.metas.Metas import Speaker, SpeakerStyle, StyleId, StyleType
-from voicevox_engine.me... | 4 | 3 | 0 | [{"id": "G0", "claim": "The function name should probably say characters rather than speakers, since the pull request made it take characters.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The variables hold lazy filter iterators, so storing li... | null |
VOICEVOX__voicevox_engine__1396 | VOICEVOX/voicevox_engine | 1,396 | defect | 2513168de638306b0ba65f77d5554bdeed3432fb | 1d792928544e4de7ddf752e2942456fef98f8758 | 整理: ユーザー辞書に関するリネーム・lint | ## 内容
概要: ユーザー辞書に関するリネーム・lint によるリファクタリング
ユーザー辞書に関するモジュールが整理された(#1329)結果、各変数・クラスの利用範囲がより狭くなった。これを反映して変数名等をリネームし、必要な lint をおこなう必要がある。
このような背景から、ユーザー辞書に関するリネーム・lint によるリファクタリングを提案します。
以下の 4 点の変更をおこないました:
- PRIORITY 変数をリネーム(ユーザー辞書系モジュールに閉じた利用になったため)
- `USER_DICT_MIN_PRIORITY` → `MIN_PRIORITY`
- `U... | diff --git a/voicevox_engine/user_dict/model.py b/voicevox_engine/user_dict/model.py
index 0e05031cf..d00856075 100644
--- a/voicevox_engine/user_dict/model.py
+++ b/voicevox_engine/user_dict/model.py
@@ -22,8 +22,8 @@ class WordTypes(str, Enum):
SUFFIX = "SUFFIX"
-USER_DICT_MIN_PRIORITY = 0
-USER_DICT_MAX_PRI... | 2 | 2 | 0 | [{"id": "G0", "claim": "USER_DICT_MIN_PRIORITY/MAX_PRIORITY should be renamed with the USER_DICT_ prefix added, since without it two identically-named module-scope constants could clash (the reviewer suspects USER_DICT is still needed in model.py).", "category": "maintainability", "verdict": "supported", "priority": "P... | null |
VOICEVOX__voicevox_engine__1407 | VOICEVOX/voicevox_engine | 1,407 | defect | cd559a2051bfa787812076e8b017b28eaf025b7e | f50aef8492c3d192a478b349dc85cf9a02de9cbc | 整理: `Setting` を `dataclass` へ変更 | ## 内容
#1405 に基づき `Setting` を `dataclass` へ変更するリファクタリングを提案します。
`test_setting_invalid_input` はもともと過剰なテストであったため削除します。
## 関連 Issue
part of #1405 | diff --git a/test/unit/setting/test_setting.py b/test/unit/setting/test_setting.py
index 421a000b7..a249c923b 100644
--- a/test/unit/setting/test_setting.py
+++ b/test/unit/setting/test_setting.py
@@ -1,10 +1,11 @@
from pathlib import Path
-import pytest
-from pydantic import ValidationError
-
from voicevox_engine.... | 3 | 1 | 0 | [{"id": "G0", "claim": "The explicit `dict[str, Any]` annotation on `settings_dict` may not be required, since pydantic does not infer types from `Any` values anyway.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The deleted `test_setting_inval... | null |
VOICEVOX__voicevox_engine__1414 | VOICEVOX/voicevox_engine | 1,414 | defect | 026bda6af10e3e0ee015e198595227421aa07712 | f66944cc349662e136647e13fa351885341e8175 | 整理: Speaker と Character を全面的に分離 | ## 内容
概要: Speaker と Character を全面的に分離してリファクタリング
昨今の ENGINE ではキャラクター関連の用語の整理(#1262)および内部向け構造体の追加(#1385)が進んでいる。
これら PRs により下準備が完了したため、「Speaker」(API model `Speaker`、各種変数名 `*speaker*`)という概念を API に限局し、内部を「Character」(構造体 `Character`、各種変数名 `*character*`)で統一可能になっている。用語も「話者・歌手」と「キャラクター」を適切に使い分け可能になっている。
このような背景か... | diff --git a/README.md b/README.md
index 116c4d88f..afdf7efba 100644
--- a/README.md
+++ b/README.md
@@ -249,7 +249,7 @@ curl -s -X DELETE "127.0.0.1:50021/user_dict_word/$word_uuid"
### プリセット機能について
-`presets.yaml`を編集することで話者や話速などのプリセットを使うことができます。
+`presets.yaml`を編集することでキャラクターや話速などのプリセットを使うことができます。
```bash
echo... | 3 | 2 | 0 | [{"id": "G0", "claim": "The API documentation/docstrings should call the characters 喋れるキャラクター and 歌えるキャラクター instead of 話者 and 歌手, since being able to sing differs a lot from being a singer.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The test... | null |
VOICEVOX__voicevox_engine__1421 | VOICEVOX/voicevox_engine | 1,421 | defect | 77d841469032e61086ee4dfad69783751729a543 | 76b220bd1c6f43287dd8b578c83d38e614c209b2 | add: `.get_engine()` で latest version を取得できるように | ## 内容
#1391 に従い、`.get_engine(None)` による最新版 `TTSEngine` の取得を追加するリファクタリングを提案します。
本 PR により routers のコア依存が大幅に減少します。
## 関連 Issue
part of #1391 | diff --git a/test/unit/tts_pipeline/test_tts_engines.py b/test/unit/tts_pipeline/test_tts_engines.py
index 1fa32c904..be90ce6a2 100644
--- a/test/unit/tts_pipeline/test_tts_engines.py
+++ b/test/unit/tts_pipeline/test_tts_engines.py
@@ -48,6 +48,25 @@ def test_tts_engines_get_engine_existing() -> None:
assert true... | 2 | 2 | 1 | [{"id": "G0", "claim": "The PR's design of threading None through get_engine as \"latest\" should be reworked — e.g. by implementing latest-version handling on tts_engines (get_latest_version) instead — with the thread raising naming ambiguity for new contributors and core-knowledge leaking out of TTSEngineManager as c... | null |
VOICEVOX__voicevox_engine__1435 | VOICEVOX/voicevox_engine | 1,435 | defect | f2bba1184d06734f2432e74f281345387d89405e | a65e211407afecda31b7244130176860ce45fd76 | 整理: `tts_engine` モジュール内のプライベートな関数をリネーム、テストを整理 | ## 内容
概要: `tts_engine` モジュール内のプライベートな関数をリネームしてリファクタリング
`tts_engine` モジュールは `TTSEngine` 用のプライベートな関数を多数定義している。
これらは `tts_engine` モジュールに閉じて利用されているが、関数名に `_` prefix が付いていないケースが散見される。これはコーディング規約 No.1 (#799)に反する。
このような背景から、`tts_engine` モジュール内のプライベートな関数をリネームするリファクタリングを提案します。
またリネームの過程でテストに改善点が見つかったため、同時にリファ... | diff --git a/test/unit/tts_pipeline/test_tts_engine.py b/test/unit/tts_pipeline/test_tts_engine.py
index 1bbae2092..ec2c7fc05 100644
--- a/test/unit/tts_pipeline/test_tts_engine.py
+++ b/test/unit/tts_pipeline/test_tts_engine.py
@@ -20,9 +20,9 @@
from voicevox_engine.tts_pipeline.text_analyzer import text_to_accent_ph... | 1 | 1 | 0 | [{"id": "G0", "claim": "The constant name `T` for the per-frame duration could be confused with the generic `T` common in generics, so it should be renamed (e.g. FRAME_SECOND/FRAME_SEC/FS, or a `sec()` function taking a frame count).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "i... | null |
VOICEVOX__voicevox_engine__1514 | VOICEVOX/voicevox_engine | 1,514 | defect | 1db9ede4896d867b723bdd33370d6ff2a74f40b6 | 7897c0d866e7c32ae7ab04ebad827257cb88139d | ENH: Windowsでエンジンの多重起動を可能にする | ## 内容
コンパイル済み辞書を起動しているエンジンのプロセスごとに割り当てることでエンジンの多重起動ができるようにします。
コンパイル済み辞書のファイル名を常にランダムにすることで実現します。
POSIXではopenjtalkが辞書を開いた後にunlinkすることで辞書が残ってしまうことを防ぎます。
WIndowsでは[`CreateFileW`](https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew)で`FILE_FLAG_DELETE_ON_CLOSE`を付けて開いた後すぐに閉じることでファイルが閉じた時... | diff --git a/poetry.lock b/poetry.lock
index 584b69eea..61a774801 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1950,7 +1950,7 @@ setuptools = ">=42.0.0"
[[package]]
name = "pyopenjtalk"
-version = "0.3.2+b35fc89"
+version = "0.3.2+0fcb731"
description = "A python wrapper for OpenJTalk"
optional = false
python-... | 4 | 3 | 1 | [{"id": "G0", "claim": "The pyopenjtalk dependency line in pyproject.toml should keep the spaces inside the braces, as in `pyopenjtalk = { git = \"...\" }`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Windows delete-on-close helper should... | null |
VOICEVOX__voicevox_engine__1522 | VOICEVOX/voicevox_engine | 1,522 | defect | ab1df7e7852bc8e6f71d6219ad8a19a9a32dc2fd | 76150290ba3ba9e6581d7ff5976aa58a0010f5a2 | feat!: ユーザー辞書データに改行やnull文字が入っていた場合にエラーとする | ## 内容
`UserDictWord`モデルの作成時に、Surfaceに含まれる改行コードならびにnull文字を削除するようにします。
これにより、不正な形式の辞書CSVファイルが生成されることを防ぎます。
## 関連 Issue
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #0
-->
## スクリーンショット・動画など
<!--
UIを変更した際は、変更がわかるような動画・スクリーンショットがあると助かります。
-->
## その他
コンマやダブルクオーテー... | diff --git a/test/unit/user_dict/test_user_dict_model.py b/test/unit/user_dict/test_user_dict_model.py
index 5c9b4753a..1300e16bf 100644
--- a/test/unit/user_dict/test_user_dict_model.py
+++ b/test/unit/user_dict/test_user_dict_model.py
@@ -69,6 +69,20 @@ def test_convert_to_zenkaku() -> None:
assert surface == tr... | 7 | 4 | 1 | [{"id": "G0", "claim": "Hiroshiba asks what the difference is between the surface validator written without mode= and the pronunciation validator written with mode=\"before\", musing that validation might be 'after' and conversion 'before', and questioning the mixed mode= usage.", "category": "design", "verdict": "unce... | null |
VOICEVOX__voicevox_engine__1548 | VOICEVOX/voicevox_engine | 1,548 | defect | d077fcde46b41baf68c00ca0122f431d4d47578f | d37d37e17f1edf7238e1bd6cdc2753b42355178e | feat: [project-e2k] オリジナル版のe2kを追加 | ## 内容
オリジナル版のe2kを追加します。
`enable_e2k`をTrueにした場合、テキスト内の読みが不明なアルファベットをe2kで解析するようにします。
ビルド周りは未着手です。(ボイボ版e2kで変わりそうなため)
## 関連 Issue
ref #1524
https://github.com/VOICEVOX/voicevox_engine/issues/1524#issuecomment-2660968528
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #0
-... | diff --git a/poetry.lock b/poetry.lock
index 82f3e26ca..10ccdb10f 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -749,6 +749,21 @@ https = ["urllib3 (>=1.24.1)"]
paramiko = ["paramiko"]
pgp = ["gpg"]
+[[package]]
+name = "e2k"
+version = "0.3.0"
+description = "A tool for automatic English to Katakana conversion"
+o... | 14 | 10 | 2 | [{"id": "G0", "claim": "The e2k conversion rule fails to handle camel-case-style words such as \"NJDict\", and the reviewer suggests replacing the whole string (e.g. via a sub-with-function) so such words convert.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"... | null |
VOICEVOX__voicevox_engine__1555 | VOICEVOX/voicevox_engine | 1,555 | defect | 4fe83ab4553bba51f1d32a7db0de2d2e6bf2ce54 | dfef7e223c450d074434fcd9d7a7beda2f53f474 | refactor: [project-e2k] e2kを使用しない場合でも`njd_features`を経由するように変更 | ## 内容
今までは[`text_to_accent_phrases`](https://github.com/VOICEVOX/voicevox_engine/blob/4fe83ab4553bba51f1d32a7db0de2d2e6bf2ce54/voicevox_engine/tts_pipeline/text_analyzer.py#L361)の引数に、テキストを入力としフルコンテキストラベルを出力する関数を指定していました。
#### e2kを使用する場合
一度テキストから`njd_features`を作成し、e2kで後処理して`njd_features`からフルコンテキストラベルを作成する関数、[`extra... | diff --git a/test/unit/tts_pipeline/test_katakana_english.py b/test/unit/tts_pipeline/test_katakana_english.py
index 87defe215..bf30f017b 100644
--- a/test/unit/tts_pipeline/test_katakana_english.py
+++ b/test/unit/tts_pipeline/test_katakana_english.py
@@ -1,62 +1,95 @@
-from voicevox_engine.tts_pipeline.katakana_engli... | 4 | 2 | 0 | [{"id": "G0", "claim": "The method `Label.from_feature` should be renamed because what it does is what `Label.from_full_context_label` describes, and the current name may not be appropriate.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The s... | null |
VOICEVOX__voicevox_engine__1562 | VOICEVOX/voicevox_engine | 1,562 | defect | b02c75fec0add1230b36f95eff8f9a1548f89fac | 59c2405a40c7b948ec94de86c3a8449c8102acfa | refactor: [project-e2k] NJDFeature関連の処理を別ファイルに切り出し | ## 内容
NJDFeature関連の処理を別ファイルに切り出し、NJDFeatureをデータクラス化します。
NJDFeatureを辞書で操作するのはバグの元になりそうなので、先にリファクタリングすることにしました。
## 関連 Issue
#1524
https://github.com/VOICEVOX/voicevox_engine/pull/1555#discussion_r2003693494
## スクリーンショット・動画など
<!--
UIを変更した際は、変更がわかるような動画・スクリーンショットがあると助かります。
-->
## その他
取りあえずで作った仮のコードな... | diff --git a/test/unit/tts_pipeline/test_katakana_english.py b/test/unit/tts_pipeline/test_katakana_english.py
index 5898a5751..819f88f15 100644
--- a/test/unit/tts_pipeline/test_katakana_english.py
+++ b/test/unit/tts_pipeline/test_katakana_english.py
@@ -1,30 +1,31 @@
from voicevox_engine.tts_pipeline.katakana_engli... | 8 | 7 | 0 | [{"id": "G0", "claim": "The lazy import of katakana_english inside text_to_full_context_labels exists only because a top-level import would be circular, so consider splitting NJDFeature's and text_to_full_context_labels' definitions into separate files or bringing katakana_english's content into this file.", "category"... | null |
VOICEVOX__voicevox_engine__1580 | VOICEVOX/voicevox_engine | 1,580 | defect | 12d03cae7597e0ca0a6a5653a1410522034b2d9d | dbbf12cb209edb5a09f869a4447e2737ce0d0ffa | chore: mypy設定をstrictにする | ## 内容
- https://github.com/VOICEVOX/voicevox_engine/issues/1577
の解決PRです!
## 関連 Issue
fix #1577
## その他
判断基準の詳しくはこちらへ
- https://github.com/VOICEVOX/voicevox_engine/issues/1577#issuecomment-2765273510
| diff --git a/mypy.ini b/mypy.ini
index 688a79f71..307142368 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -1,25 +1,7 @@
-# TODO: Review mypy settings
# TODO: Move it to pyproject.toml after the review is done
[mypy]
-check_untyped_defs = True
-disallow_any_decorated = False
-disallow_any_generics = False
-disallow_any_unim... | 1 | 1 | 0 | [{"id": "G0", "claim": "The type annotation of generate_licenses_from_licenses_json in tools/generate_licenses.py, which nanae772 set in the #1596 refactoring, is fundamentally wrong (it should be `def generate_licenses_from_licenses_json(licenses_json: list[dict[str, str]]) -> list[License]:`) and should be corrected ... | null |
VOICEVOX__voicevox_engine__1591 | VOICEVOX/voicevox_engine | 1,591 | defect | dbba23c704b17d254b41a24de8c09a888560bea4 | 3e325e63c191001f63c687e3e7acb6e04c48066d | feat: [project-e2k] アルファベットに挟まれたpauとして扱われるスペースを削除する | ## 内容
題の通りです。
英単語間のスペースがpauとして扱われて読みが不自然になるため、削除するようにします。
pyopenjtalkの仕様上、入力内の半角スペースと全角スペースが区別できないため、両方を削除します。
## 関連 Issue
ref #1524
## スクリーンショット・動画など
### 変更前

### 変更後
 so it more clearly expresses that features matching both criteria should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", ... | null |
VOICEVOX__voicevox_engine__1599 | VOICEVOX/voicevox_engine | 1,599 | defect | 61e26289c93104300e1612a231eac660077f0e6c | f51b1d9e4decf1b1bb701fbc79b120bf1f9b42c6 | refactor: 品質保証無効化フラグを削除 | ## 内容
品質保証無効化フラグ `noqa` の削除を提案します。
## 関連 Issue
ref #1578
| diff --git a/test/unit/tts_pipeline/test_phoneme.py b/test/unit/tts_pipeline/test_phoneme.py
index 78dbda5b6..9b4213f55 100644
--- a/test/unit/tts_pipeline/test_phoneme.py
+++ b/test/unit/tts_pipeline/test_phoneme.py
@@ -12,7 +12,7 @@ def test_unknown_phoneme() -> None:
# Tests
with pytest.raises(ValueError... | 1 | 1 | 0 | [{"id": "G0", "claim": "It might be good to refactor load_core so that the try/except is not doubled (nested), since the nesting is rather deep — a double except is a kind of code smell.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
VOICEVOX__voicevox_engine__1615 | VOICEVOX/voicevox_engine | 1,615 | defect | bb4e082ffdb1bd5fbc29748742dbdff6abaacdae | 2e47f76c313114a9169667a2e92eab37a6be9e79 | refactor: ruff D101 を適用 | ## 内容
ruff D101 を適用するリファクタリングを提案します。
## 関連 Issue
part of #1605
## Notes
今回のリファクタリングで「このクラス、振る舞いを理解するのに手間かかるな…」と思う場面が多かったです。
public class は内部にメソッド等を備えて複雑で、かつ各所で引き回されるため影響範囲も大きく、docstring を必須にするのが妥当だと感じました。 | diff --git a/pyproject.toml b/pyproject.toml
index 3f03eb439..97420ecde 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,6 @@ ignore = [
"E501", # line-too-long
"D400", # missing-trailing-period。日本語の「。」に対応していないため
"D100", # NOTE: 段階的に有効化する可能性がある。
- "D101", # NOTE: 段階的に有効化する可能性がある。
"D102", # NOTE:... | 13 | 13 | 0 | [{"id": "G0", "claim": "The CLIArgs class in run.py looks like it should be a private class (privatise it and drop its docstring).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The MoraForTest class in test/e2e/single_api/utils.py also looks like a priv... | null |
VOICEVOX__voicevox_engine__1621 | VOICEVOX/voicevox_engine | 1,621 | defect | 78749bce699ddfa14981d7bbd6f92ee30bc37edf | 896b19bd25b91638614deeb8a55cb52369fe6a66 | refactor: ruff D103 を適用 | ## 内容
ruff D103 を適用するリファクタリングを提案します。
## 関連 Issue
part of #1605
## Notes
VOICEVOX ENGINE はテストランナーに `pytest` を採用しているため、テスト対象関数の名称が必ず public な `test_*()` になります。そのためテスト対象関数は D103 によるリント対象になります。
しかしテスト対象関数はその関数名で充分にテスト内容を表現できるケースが多いです。そのため D103 は過剰なリントになりがちです。
これを回避するため、ruff の `per-file-ignores` 設定を利用しています。これ... | diff --git a/pyproject.toml b/pyproject.toml
index ab409a380..a5ff59639 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,7 +8,6 @@ ignore = [
"D400", # missing-trailing-period。日本語の「。」に対応していないため
"D100", # NOTE: 段階的に有効化する可能性がある。
"D102", # NOTE: 段階的に有効化する可能性がある。
- "D103", # NOTE: 段階的に有効化する可能性がある。
"D104"... | 2 | 2 | 0 | [{"id": "G0", "claim": "The D103 per-file ignore added for the tests is broader than necessary and should be scoped as narrowly as possible — ideally ignoring only `test_` functions rather than whole files, or at least narrowing the file pattern to something like `test/**/test_*`.", "category": "maintainability", "verd... | null |
VOICEVOX__voicevox_engine__1695 | VOICEVOX/voicevox_engine | 1,695 | defect | eada756e3c7822b62e075bff12c478b7d0fd3f7c | 02682eda8d6bfbc69725a5e237bc6d49ab3d34d7 | refactor: [project-e2k] モーラのカウントを共通化 | ## 内容
モーラのカウントを共通化するリファクタリングを提案します。
## 関連 Issue
part of #1524 (especially https://github.com/VOICEVOX/voicevox_engine/issues/1524#issuecomment-2847646250) | diff --git a/test/unit/utility/test_text_utility.py b/test/unit/utility/test_text_utility.py
index fb5dec5ef..7a1bb4e78 100644
--- a/test/unit/utility/test_text_utility.py
+++ b/test/unit/utility/test_text_utility.py
@@ -3,6 +3,7 @@
import pytest
from voicevox_engine.utility.text_utility import (
+ count_mora,
... | 2 | 2 | 0 | [{"id": "G0", "claim": "Pre-compile the mora-count regex pattern outside count_mora() (as a module-level compiled pattern) if the function is called frequently, to avoid recompiling the regex on every call.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
VOICEVOX__voicevox_engine__1713 | VOICEVOX/voicevox_engine | 1,713 | defect | 75210a062782a1bd03a3e117f10cf34f3e220d28 | 285eccf86670b3d408a90eebc1102e0fb01e622f | refactor: `should_convert_english_to_katakana()` の呼び出しを減らす | ## 内容
`should_convert_english_to_katakana()` の呼び出しを減らすリファクタリングを提案します。
呼び出しを減らしたことで `should_convert_english_to_katakana()` がモジュールに閉じるようになったため、プライベート関数へとリネームしています。
またテストを pytest の parametrize で簡略化しました。
## 関連 Issue
resolve #1712 | diff --git a/test/unit/tts_pipeline/test_katakana_english.py b/test/unit/tts_pipeline/test_katakana_english.py
index db720eed9..4aa2e0f94 100644
--- a/test/unit/tts_pipeline/test_katakana_english.py
+++ b/test/unit/tts_pipeline/test_katakana_english.py
@@ -5,10 +5,10 @@
from voicevox_engine.tts_pipeline.katakana_engli... | 4 | 1 | 0 | [{"id": "G0", "claim": "Renaming the public `should_convert_english_to_katakana` to private `_should_convert_english_to_katakana` can break external consumers that relied on the public API; add a deprecation alias or document the change in the release notes.", "category": "design", "verdict": "opposed", "priority": "P3... | null |
VOICEVOX__voicevox_engine__1733 | VOICEVOX/voicevox_engine | 1,733 | defect | 763a8b116ab6bedc5bf84fd4a43dfaddaae70482 | aed19e92cfc4c2418a53828c326ff3fb9d4a4c72 | chore: enable_e2kをenable_katakana_englishに | ## 内容
enable_e2kをenable_katakana_englishにします。
## 関連 Issue
- close: #1524 (:tada:)
## スクリーンショット・動画など
(なし)
## その他
(なし)
| diff --git "a/test/e2e/__snapshots__/test_openapi/test_OpenAPI\343\201\256\345\275\242\343\201\214\345\244\211\343\202\217\343\201\243\343\201\246\343\201\204\343\201\252\343\201\204\343\201\223\343\201\250\343\202\222\347\242\272\350\252\215.json" "b/test/e2e/__snapshots__/test_openapi/test_OpenAPI\343\201\256\345\275... | 2 | 2 | 0 | [{"id": "G2", "claim": "The accent_phrases API docstring should drop the implementation-specific `kanalizer`/`解析` wording and say the flag converts unknown-reading English words to katakana readings, per the suggestion block.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"... | null |
VOICEVOX__voicevox_engine__1742 | VOICEVOX/voicevox_engine | 1,742 | defect | 3b0f11bfa115892098003f55ae8545480280057e | d5877446e47174c37b48ea1b1f3fffe8ab638d59 | refactor: 空の `breath_groups` を特別扱いしない | ## 内容
空のブレスグループを特別扱いしなくするリファクタリングを提案します。
現在の `text_analyzer.py` では空の `utterance.breath_groups` を特別扱いして空リストをリターンしている。
しかし特別扱いのルートを削除しても、通常ルート経由で空リストが正常に処理されることが判明した。
空リストの処理はバグ源になりやすいため、テストコードを追加したうえで、YAGNI になっている特別扱いのルートを削除するのが望ましい。
このような背景から、空のブレスグループを特別扱いしなくするリファクタリングを提案します。
## 関連 Issue
無し
#... | diff --git a/test/unit/tts_pipeline/test_text_analyzer.py b/test/unit/tts_pipeline/test_text_analyzer.py
index 37f1689cc..a27416e6c 100644
--- a/test/unit/tts_pipeline/test_text_analyzer.py
+++ b/test/unit/tts_pipeline/test_text_analyzer.py
@@ -99,6 +99,25 @@ def test_case_hello_hiho() -> list[str]:
]
+@pytest... | 1 | 1 | 1 | [{"id": "G0", "claim": "To verify that the removed empty-check code behaves correctly without it, `sil sil` rather than `sil pau sil` seems to be the right test input (and since neither input can come from pyopenjtalk, the test case's value is questionable), so one of the two options should be implemented — keep `sil p... | null |
VOICEVOX__voicevox_engine__1747 | VOICEVOX/voicevox_engine | 1,747 | defect | 8c66fba0a9ffaf926a14757d0bee06e414746b1b | 78482cb3be35eda8d233ec0c701167c7ab03608e | refactor: 本来は到達しないはずのコードが実行された時用の共通エラーを追加 | ## 内容
本来は実行されないパスが実行された時用の共通エラーを追加するリファクタリングを提案します。
https://github.com/VOICEVOX/voicevox_engine/pull/1744#discussion_r2160494223 にて、設計された例外と assert 的な例外を区別することが提案された。
Python built-in の [`typing.assert_never`](https://docs.python.org/ja/3.13/library/typing.html#typing.assert_never) に着想を得て、`NeverError` の名前が合うと判断... | diff --git a/test/benchmark/engine_preparation.py b/test/benchmark/engine_preparation.py
index 55cc3c2d5..ca39d36f8 100644
--- a/test/benchmark/engine_preparation.py
+++ b/test/benchmark/engine_preparation.py
@@ -16,6 +16,7 @@
from voicevox_engine.tts_pipeline.song_engine import make_song_engines_from_cores
from voic... | 2 | 2 | 0 | [{"id": "G0", "claim": "The exception class should be renamed from NeverError to UnreachableError, since NeverError alone is not intuitive about what is 'never'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The UnreachableError docstring '本来は実... | null |
VOICEVOX__voicevox_engine__1748 | VOICEVOX/voicevox_engine | 1,748 | defect | 8c66fba0a9ffaf926a14757d0bee06e414746b1b | 5c0dd769c9b35014b7f095cc9524d68e049218a7 | refactor: if-elif 構文を match-case 構文で置き換え | ## 内容
if-elif 構文を match-case 構文で置き換えるリファクタリングを提案します。
変数 `x` が満たす条件によって動作を変える制御には、従来 if-elif 構文が用いられていた。
この構文には以下の問題点がある:
- バグ源: `elif` を `if` にタイポするとエラーではなく全く別の動作になる
- 可読性
- 意図的な `if-elif-if` がありうる状況だと誤読のリスクが上がり、可読性が著しく下がる
- `if x ..` と `if y ...` が並びうる状況だと誤読のリスクが上がり、可読性が著しく下がる
- 型チェックのコード量が多い
... | diff --git a/run.py b/run.py
index f50fd491b..693eac6e1 100644
--- a/run.py
+++ b/run.py
@@ -40,16 +40,15 @@ def decide_boolean_from_env(env_name: str) -> bool:
* それ以外はwarningを出してFalseを返す
"""
env = os.getenv(env_name, default="")
- if env == "1":
- return True
- elif env == "" or env == "0":... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `case _:` fallback in test/e2e/test_disable_api.py would be more suitably written using `typing.assert_never` than `raise ValueError(\"Never\")`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VOICEVOX__voicevox_engine__1749 | VOICEVOX/voicevox_engine | 1,749 | defect | d4b69097775d59ed437433fe1e0f0306b25289f9 | 02e52e28c9747a2b29665749aa5186d482430365 | refactor: 型レベルで到達不可能なコードを `assert_never()` で表現 | ## 内容
型レベルで到達不可能なコードを `assert_never()` で表現するリファクタリングを提案します。
if-elif や match-case では型レベルで到達/実行不可能なコードが出現する。
これを `typing.assert_never()` で表現すると型チェッカーで不到達の保証ができ、安全性が高まる。
またコントリビューターがひと目見て到達不可能なコードだと理解でき、可読性が高まる。
このような背景から、型レベルで到達不可能なコードを `assert_never()` で表現するリファクタリングを提案します。
## 関連 Issue
https://gith... | diff --git a/test/benchmark/engine_preparation.py b/test/benchmark/engine_preparation.py
index 55cc3c2d5..1489cd30d 100644
--- a/test/benchmark/engine_preparation.py
+++ b/test/benchmark/engine_preparation.py
@@ -2,7 +2,7 @@
import warnings
from pathlib import Path
-from typing import Literal
+from typing import Li... | 1 | 1 | 0 | [{"id": "G0", "claim": "Prefer the more convenient notation `assert_never(_)` in the unreachable case if the type checker and linter allow it, or otherwise pass the match subject directly (`assert_never(method)`), instead of binding a fresh `unreachable` variable that is awkward to type each time; the reviewer also flo... | null |
VOICEVOX__voicevox_engine__1811 | VOICEVOX/voicevox_engine | 1,811 | defect | e794649968797a3e116875221356c0af96b64429 | ed0aad0cc17ec936ee293d60ae3db9fe59c0b789 | feat!: 未指定時のonnxruntimeのスレッド数の決定方法を変更 | ## 内容
`--cpu_num_threads`または`VV_CPU_NUM_THREADS`未指定時のonnxruntimeのスレッド数の決定方法を以下のように変更します。
理論コア数が物理コア数が同じ場合、理論コア数の半分が指定される
物理コア数が不明な場合、理論コア数の半分が指定される
それ以外の場合onnxruntimeの規定値が指定される
## 関連 Issue
fix #1809
## その他
理論コア数が不明な場合は従来通り0になります。
理論コア数は取得できたが物理コア数が不明なパターンは
- Linux/ARM環境([psutilが未サポート](https://gi... | diff --git a/pyproject.toml b/pyproject.toml
index d206a2ff7..2146fdafb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,6 +8,7 @@ dependencies = [
"kanalizer>=0.1.1",
"numpy>=2.2.3",
"platformdirs>=4.2.0",
+ "psutil>=6.0.0",
"pydantic>=2.7.3",
"pyopenjtalk",
"python-multipart>=0.0.20", # NOTE:... | 3 | 2 | 0 | [{"id": "G0", "claim": "The docstring of `_determine_default_cpu_num_threads` uses the wrong term (`理論コア` instead of `論理コア`) and the wording of the None-case makes the intended behavior hard to read; Hiroshiba proposed two replacement docstring lines.", "category": "documentation", "verdict": "supported", "priority": "... | null |
VOLTTRON__volttron__1064 | VOLTTRON/volttron | 1,064 | defect | 000f68e658700aeaaa5e744092a40462d15a4af7 | a59aec394e6d48370e5e80137643cfe3f225666a | Add config store support to Threshold Detection Agent | #1057 #982
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/volttron/volttron/1064)
<!-- Reviewable:end -->
| diff --git a/services/core/ThresholdDetectionAgent/tests/test_thresholddetection.py b/services/core/ThresholdDetectionAgent/tests/test_thresholddetection.py
index cf0cae2423..04827b9959 100644
--- a/services/core/ThresholdDetectionAgent/tests/test_thresholddetection.py
+++ b/services/core/ThresholdDetectionAgent/tests/... | 3 | 3 | 1 | [{"id": "G0", "claim": "The agent should not ignore config_path; it should load the file's settings and register them as defaults with the config store's set_default function, as the actuator agent does.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
VOLTTRON__volttron__1083 | VOLTTRON/volttron | 1,083 | defect | f132d3ca65c756f1911b897221ff04b6470c8a52 | eb578ea19e78b733a9b7d8010d5eacbb03e0de2c | Add grouping to alert agent |
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/volttron/volttron/1083)
<!-- Reviewable:end -->
| diff --git a/services/core/AlertAgent/alerter/agent.py b/services/core/AlertAgent/alerter/agent.py
index ad72e459bf..c6435397fd 100644
--- a/services/core/AlertAgent/alerter/agent.py
+++ b/services/core/AlertAgent/alerter/agent.py
@@ -58,7 +58,10 @@
import logging
from datetime import datetime
+import gevent
+
fro... | 3 | 2 | 2 | [{"id": "G0", "claim": "The pull request documents the group-agent configuration nowhere outside the tests, and the reviewer asks where that is documented and whether the agent can still be used without a group (groups being newly required).", "category": "documentation", "verdict": "supported", "priority": "P1", "scop... | null |
VOLTTRON__volttron__1094 | VOLTTRON/volttron | 1,094 | defect | 5f7d948cf9692eea4533b6278c439626976597e0 | dc8830f086462713b1324c441f75da5c6e5f31b9 | Fixes for Actuator Agent performance. |
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/volttron/volttron/1094)
<!-- Reviewable:end -->
| diff --git a/scripts/scalability-testing/config_builder.py b/scripts/scalability-testing/config_builder.py
index e0199b4beb..3be8675167 100755
--- a/scripts/scalability-testing/config_builder.py
+++ b/scripts/scalability-testing/config_builder.py
@@ -67,12 +67,14 @@
class DeviceConfig(object):
__metaclass__ = a... | 4 | 3 | 0 | [{"id": "G0", "claim": "Documentation should probably be added to the DeviceConfig classes in scripts/scalability-testing/config_builder.py, since they are hopefully going to be used by external entities.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "cl... | null |
VOLTTRON__volttron__1110 | VOLTTRON/volttron | 1,110 | defect | 25434f58ef1d865e303bb54c01d14d338474b35c | 762ef88aa9e61facbd5aa7dfe245a223d545a074 | Rainforest driver |
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/volttron/volttron/1110)
<!-- Reviewable:end -->
| diff --git a/services/core/MasterDriverAgent/master_driver/interfaces/rainforesteagle.py b/services/core/MasterDriverAgent/master_driver/interfaces/rainforesteagle.py
new file mode 100644
index 0000000000..22b7edf167
--- /dev/null
+++ b/services/core/MasterDriverAgent/master_driver/interfaces/rainforesteagle.py
@@ -0,0... | 2 | 1 | 1 | [{"id": "G0", "claim": "Please add documentation to the Interface class, specifically pointers to the API documentation it was pulled from.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please build a few tests around this interface, using issue ... | null |
VOLTTRON__volttron__1164 | VOLTTRON/volttron | 1,164 | defect | feda0c9ed404f867272ae8f6340c71a4e57e63f4 | bdff7769620fa2c0cb0dc9de6148e42ebf482e48 | add web rpc example code and cleanup vc tests |
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/volttron/volttron/1164)
<!-- Reviewable:end -->
| diff --git a/examples/WebRPC/example.py b/examples/WebRPC/example.py
new file mode 100644
index 0000000000..d16594d568
--- /dev/null
+++ b/examples/WebRPC/example.py
@@ -0,0 +1,17 @@
+from volttronwebrpc import VolttronWebRPC
+
+addr = "http://10.0.2.15:8080/jsonrpc"
+
+volttron = VolttronWebRPC(addr, username='admin',... | 3 | 2 | 0 | [{"id": "G0", "claim": "The PNNL-commented BSD license header should be added to examples/WebRPC/example.py.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A license header should be added to examples/WebRPC/volttronwebrpc/__init__.py.", "category... | null |
VOLTTRON__volttron__1466 | VOLTTRON/volttron | 1,466 | defect | 010454e2a2b7a76ac268734ce84c4eb3d245c995 | f8edd42d33bfe45af63c5fe5a456c1940b92cc3b | Utility script to load id and parent reference tags | 1. Added Utility script to load id and parent reference tags for topics that have naming convention as /campus/building/device/<optional sub device>/point
2. Removed unused test script
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt=... | diff --git a/scripts/tagging_scripts/insert_id_and_ref_tags.py b/scripts/tagging_scripts/insert_id_and_ref_tags.py
new file mode 100644
index 0000000000..e4336764e7
--- /dev/null
+++ b/scripts/tagging_scripts/insert_id_and_ref_tags.py
@@ -0,0 +1,256 @@
+"""
+Utility script to read the list of topics from mongodb and in... | 3 | 2 | 1 | [{"id": "G0", "claim": "The docstring (and the naming-pattern comment) describe the topic naming convention with a rooted leading slash (/campus/building/device/...), but topics generally do not have a rooted path, so the documentation should be corrected.", "category": "documentation", "verdict": "supported", "priorit... | null |
VOLTTRON__volttron__1494 | VOLTTRON/volttron | 1,494 | defect | e6ff78b56f4b924a4f1d8100bf978a96f33de603 | efb914fd3040ccb413050e76b719144393e145fb | Added config store to historians | Fixes #1354 - pause forwarder
Fixes #1484, #1485, #1400 83
Added methods for creating and validating publishes of device messages for tests.
<a href='#crh-start'></a><a href='#crh-data-%7B%22processed%22%3A%20%5B%22https%3A//github.com/VOLTTRON/volttron/pull/1494%23discussion_r141445871%22%2C%20%22https%3A//github.... | diff --git a/scripts/install-agent.py b/scripts/install-agent.py
index 22d0a3932a..7ec229f9b2 100644
--- a/scripts/install-agent.py
+++ b/scripts/install-agent.py
@@ -228,8 +228,6 @@ def install_agent(opts, package, config):
help="identity of the agent to be installed (unique per instance)")
... | 3 | 3 | 0 | [{"id": "G0", "claim": "The sample custom_topic_list in the ForwardHistorian README should also include \"alert\" so alert topics are forwarded.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The example config's destination-vip should drop the machine-s... | null |
VOLTTRON__volttron__1697 | VOLTTRON/volttron | 1,697 | defect | 88211fa80a0dec2fe1224f75783522030c1c872b | e7b523634ac8bb31f300485e4659908ebe1feca1 | Solved #1701 - Add scaling register | - Add register name as a scaling factor, the set_point, get_point, and scrape_all will be scaled by its value
- Register map csv: new transform function scale_reg(scaling_register_name) & scale_reg_pow_10(scaling_register_name)
- Transform works with mixed endian case
- The new test 'test_scale_reg.py' and 'test_sca... | diff --git a/services/core/MasterDriverAgent/master_driver/interfaces/modbus_tk/__init__.py b/services/core/MasterDriverAgent/master_driver/interfaces/modbus_tk/__init__.py
index fcc742736f..d07af45abb 100644
--- a/services/core/MasterDriverAgent/master_driver/interfaces/modbus_tk/__init__.py
+++ b/services/core/Master... | 1 | 1 | 1 | [{"id": "G0", "claim": "The division in the scale_reg_pow_10 inverse function should have a try/except block around it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
VOLTTRON__volttron__1717 | VOLTTRON/volttron | 1,717 | defect | 5f144566790883f5a9f2e88e83355800d73b6298 | 67cbab97687d053cea56ecac128da0b82bd0cd25 | Fix#1707 | # Description
Support for health subsystem in base historian. Fix minor bugs in base historian.
Fixes # 1707
## Type of change
Please delete options that are not relevant.
- [ x] Bug fix (non-breaking change which fixes an issue)
- [x ] New feature (non-breaking change which adds functionality)
# How... | diff --git a/services/core/MarketServiceAgent/tests/__init__.py b/services/core/MarketServiceAgent/tests/__init__.py
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/volttron/platform/agent/base_historian.py b/volttron/platform/agent/base_historian.py
index d41a716232..81a31cf71e 100644
--- a/volttron... | 1 | 1 | 0 | [{"id": "G0", "claim": "Instead of the dev mark, the test should use a dedicated health mark (or the existing historian mark) rather than the dev mark.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VOLTTRON__volttron__1857 | VOLTTRON/volttron | 1,857 | defect | d03c47b383d8c919b7fdf64eea2708c9a570dc88 | 42cb78816ef6632b8c04eb02cb68a1dce4933c5b | Fix for #1688 restart crashed agents | <a href='#crh-start'></a><a href='#crh-data-%7B%22processed%22%3A%20%5B%22https%3A//github.com/VOLTTRON/volttron/pull/1857%23issuecomment-445302484%22%2C%20%22https%3A//github.com/VOLTTRON/volttron/pull/1857%23discussion_r239884306%22%2C%20%22https%3A//github.com/VOLTTRON/volttron/pull/1857%23discussion_r241534125%22%5... | diff --git a/volttron/platform/control.py b/volttron/platform/control.py
index 095f31fd3e..0228ba0f46 100644
--- a/volttron/platform/control.py
+++ b/volttron/platform/control.py
@@ -53,11 +53,13 @@
import hashlib
import tarfile
import subprocess
+from datetime import timedelta
import gevent
import gevent.event
... | 2 | 2 | 2 | [{"id": "G0", "claim": "Add a test that builds an installable fake agent which crashes, to exercise the new crash-monitoring/restart behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The agent-monitor schedule should not be hard coded at 300 sec... | null |
VOLTTRON__volttron__1874 | VOLTTRON/volttron | 1,874 | defect | 882be23b4b6dd0b057d4e713ec05fc5dc22f15d7 | ad0a52ecdbf6c6c27d65eecbed5ed6c2d08cb59c | Rabbitmq volttron auth | # Description
This PR contains
Documentation updates to README
More pytests for rmq pubsub
Issue #1873: To fix unwanted log messages appearing on the console when run with
volttron -vv -l volttron.log&
<a href='#crh-start'></a><a href='#crh-data-%7B%22approved%22%3A%20%7B%22https%3A//github.com/schandrika%22%3A... | diff --git a/README.md b/README.md
index 0c04484f0d..d17ed8cad2 100644
--- a/README.md
+++ b/README.md
@@ -486,15 +486,16 @@ upstream servers on the downstream server and make the VOLTTRON exchange
**Using Shovel Plugin**
-In RabbitMQ based VOLTTRON, forwarder and data mover agents will be replaced by shovels
+In ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The 'list-exchanges' subparser's help text reads 'add a new exchange', a copy-paste from the add-user parser, and should describe listing exchanges.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The initial RabbitMQ docume... | null |
VOLTTRON__volttron__1909 | VOLTTRON/volttron | 1,909 | defect | 29bd3917ea97490dbec7ca37bd459a5dc6d484bf | c111987646cd944c471537f8ab9dfc3b0646ad75 | Rabbitmq volttron auth | # Description
Fixes # (issue)
1886
Added testcases for RabbitMQ reconnect and shutdown scenarios.
Reconnect delay is a config parameter so that it can be adjusted according to user requirement
| diff --git a/examples/configurations/rabbitmq/rabbitmq_config.yml b/examples/configurations/rabbitmq/rabbitmq_config.yml
index 227e3047c4..5c6cfcd312 100644
--- a/examples/configurations/rabbitmq/rabbitmq_config.yml
+++ b/examples/configurations/rabbitmq/rabbitmq_config.yml
@@ -45,3 +45,6 @@ ssl: 'true'
# defaults to ... | 6 | 5 | 1 | [{"id": "G0", "claim": "vctl shutdown (without --platform) detects rabbit as not running while it is merely restarting and forcefully shuts the platform down, instead of waiting ~30 seconds for a possible reconnect.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G... | null |
VOLTTRON__volttron__1929 | VOLTTRON/volttron | 1,929 | defect | 7fd980ea5e74c34e2bc88d1a4465937700b94c4e | 3fb3092c33876f0e01c979d0b89d7810bb3035c0 | Multiple rabbitmq bug fixes | 1. Minor change to rabbitmq dependency install script. Updated readme
2. Fix for #1924
3. Fix for #1925
4. Fix for #1927
5. Fix for #1928
6. Fix for #1920 | diff --git a/README.md b/README.md
index 9c80c1017e..ecdb22662d 100644
--- a/README.md
+++ b/README.md
@@ -56,48 +56,27 @@ http://ryanstutorials.net/linuxtutorial/
For RabbitMQ based VOLTTRON, some of the RabbitMQ specific software packages have to be installed.
- **On Debian based systems:**
-
- If you are run... | 7 | 6 | 3 | [{"id": "G0", "claim": "The README's list of supported distributions includes debian jessie, which is no longer supported because its apt dependency repo was removed.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The README misspells debian as 'd... | null |
VOLTTRON__volttron__1957 | VOLTTRON/volttron | 1,957 | defect | e6164dc1d4c9e7df12567ab651a7318eea4a2bb9 | b71506cf779e31b4160186de965cd6635f66a3c9 | Volttron docker test | # Description
First pass at docker containers for running pytests
Fixes Issue# 1956
| diff --git a/ci-integration/docker-compose.yml b/ci-integration/docker-compose.yml
new file mode 100644
index 0000000000..fa4aeb19fb
--- /dev/null
+++ b/ci-integration/docker-compose.yml
@@ -0,0 +1,38 @@
+version: '3'
+services:
+ volttron1:
+ image: volttron_1
+ ports:
+ # This is only needed if we want to... | 2 | 1 | 0 | [{"id": "G0", "claim": "The `USER root` command added after the RabbitMQ installation block is redundant and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Ideally numpy should not be listed as a requirement in requirements_te... | null |
VOLTTRON__volttron__1980 | VOLTTRON/volttron | 1,980 | defect | c57fbfc64f08160e0dd148c093ba3029fb9114d8 | 1d3b1605a203c298c37a42b22f958f424a856e48 | Issue# 1956. Some more corrections | # Description
Fixes for Issue #1956 and Issue #1740
1. More corrections to run_test_docker.sh.
2. More pytest fixes.
a. Proper alerts topic in services/ops/AgentWatcher/tests/test_agent_watcher.py
b. Proper Failover Agent path in
services/ops/FailoverAgent/tests/test_failover.py
services/ops/FailoverAgent/te... | diff --git a/ci-integration/run-test-docker.sh b/ci-integration/run-test-docker.sh
index 48628e6caa..ec8c895bc2 100755
--- a/ci-integration/run-test-docker.sh
+++ b/ci-integration/run-test-docker.sh
@@ -4,7 +4,7 @@
#export FAST_FAIL=0
if [[ $# -eq 0 ]] ; then
- NUM_PROCESSES=5
+ NUM_PROCESSES=3
else
NUM... | 2 | 1 | 0 | [{"id": "G0", "claim": "Test-only dependencies (mock, websocket-client, numpy) should live in the individual agents' requirements.txt files, which are installed automatically when install-agent.py runs, instead of the global ci-integration/virtualization/requirements_test.txt.", "category": "maintainability", "verdict"... | null |
VOLTTRON__volttron__1989 | VOLTTRON/volttron | 1,989 | defect | 05ba76e7820a7c9ecb7dd4d85c68c69233d536ac | c92f8f0968029740e6d3302db0e1582a7152a2d1 | Fixed more tests | Fixed a couple of things noted in #1988
Bumped requests[security] up in requirements.txt
| diff --git a/ci-integration/run-test-docker.sh b/ci-integration/run-test-docker.sh
index ec8c895bc2..799ee49c52 100755
--- a/ci-integration/run-test-docker.sh
+++ b/ci-integration/run-test-docker.sh
@@ -24,10 +24,12 @@ run_tests() {
local i=0
local pids=""
local full_filenames=()
+ pwd
for filena... | 8 | 8 | 7 | [{"id": "G0", "claim": "The pytest timeout setting in pytest.ini needs to be uncommented.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The default rmq-home hard-codes $HOME (/home/vdev/multi_node_rmq/...), node-name has to be specified (by default it ... | null |
VOLTTRON__volttron__2026 | VOLTTRON/volttron | 2,026 | defect | 1e74a321ccfa33b4397283cca0796be4a87e4510 | a82c5e4fb3f0d893294676fe638b64ae5fcfe24c | Changes to get all rmq certs tests to pass | Fixes in
- platform wrapper to do rmq single instance setup at init instead of platform start
- rmq config object to set defaults. Without this admin user is gets created as None
- Fixed test_platform_rmq to accommodate changes in platform wrapper, remove irrelevant test case, and added better error handling.
| diff --git a/volttron/utils/rmq_config_params.py b/volttron/utils/rmq_config_params.py
index 5ea3cdf354..cc2efa2ca8 100644
--- a/volttron/utils/rmq_config_params.py
+++ b/volttron/utils/rmq_config_params.py
@@ -79,6 +79,25 @@ def __init__(self):
self.load_rmq_config()
except (IOError, yaml.YAMLErr... | 1 | 1 | 0 | [{"id": "G0", "claim": "The tests should use the pytest exception wrapper (pytest.raises) instead of the try/except-fail-and-assert-True pattern when checking that agent install fails.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VOLTTRON__volttron__2027 | VOLTTRON/volttron | 2,027 | defect | 5c3845028a475450e7c95f3eaba5c839cf7f6c2a | 4ffa022336d2dbdae62531f21065a1ceda14815c | Fix vc tests | # Description
More fixes for #1740 this specifically fixes the multimessagebus tests for volttron central/volttron central platform. | diff --git a/.dockerignore b/.dockerignore
index 40aaeadfdd..c0ed20b7fb 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,5 +1,6 @@
.git
.github
-env/
+env/*
volttron.egg-info/
*.pyc
+*__pycache__*
\ No newline at end of file
diff --git a/ci-integration/run-test-docker.sh b/ci-integration/run-test-docker.sh
inde... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new rmq_user line duplicates the logic of the else statement below it, and may fail if instance_name is None.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
VOLTTRON__volttron__2047 | VOLTTRON/volttron | 2,047 | defect | bc3b6349d5b44d94eb1f1171fb1f4c10d3aecbb3 | 526f73a3120f4ee315501e2d50a10c8bffa0d64d | Added all_platform configuration to historian | Added all_platform configuration to historian. By default this will be false. Added test case to test this using both multiple zmq instances and multiple rmq instance. Testing with rmq, required adding federation setup capability to platform wrapper and fixing handling of os.environ when there is more than one volttron... | diff --git a/services/core/SQLHistorian/config.sqlite b/services/core/SQLHistorian/config.sqlite
index 7fdfa51a02..a6be8b6d52 100644
--- a/services/core/SQLHistorian/config.sqlite
+++ b/services/core/SQLHistorian/config.sqlite
@@ -1,9 +1,9 @@
{
- "agentid": "sqlhistorian-sqlite",
"connection": {
"type... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new all_platforms value in services/core/SQLHistorian/config.sqlite should be the bare literal true rather than the string \"true\", because any string (e.g. \"false\") evaluates to True in Python's bool().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr... | null |
VOLTTRON__volttron__2366 | VOLTTRON/volttron | 2,366 | defect | 6bbe184fce38b2e42c6cdd0ca78982b1b6dffa01 | 6289061bd02dbd332eef9da4c7138e424ee8f2f1 | Added prototype docker wrapper and fixture for docker | # Description
Provides a context manager for creating a docker image to run while a test is running. Provides example for usage in the test_fixtures example.
# How Has This Been Tested?
Tested via unit tests both with and without the docker api installed.
# Checklist:
- [x] My code follows the style g... | diff --git a/volttrontesting/fixtures/docker_wrapper.py b/volttrontesting/fixtures/docker_wrapper.py
new file mode 100644
index 0000000000..e6bb4e6140
--- /dev/null
+++ b/volttrontesting/fixtures/docker_wrapper.py
@@ -0,0 +1,75 @@
+try:
+ import docker
+
+ HAS_DOCKER = True
+except ImportError:
+ HAS_DOCKER = ... | 4 | 1 | 0 | [{"id": "G0", "claim": "The docstring's ports-convention example misspells 'portincontainre/protocoll' and should be corrected to 'portincontainer/protocol'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The :return: docstring link should be anch... | null |
VOLTTRON__volttron__2402 | VOLTTRON/volttron | 2,402 | defect | d3dcee8fa254d9df331522af2cef5cc7bf484181 | f56383d74aeb11586f04b08027cabee22e6f253e | Bugfix/ecobee refactor | # Description
Fixes bug found in Ecobee driver causing set_point in interface to not find the correct register object.
## Type of change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- ... | diff --git a/docs/source/core_services/drivers/driver_configuration/ecobee_web_driver.rst b/docs/source/core_services/drivers/driver_configuration/ecobee_web_driver.rst
index 292d0cddb7..7cd84fb189 100644
--- a/docs/source/core_services/drivers/driver_configuration/ecobee_web_driver.rst
+++ b/docs/source/core_services/... | 1 | 1 | 0 | [{"id": "G0", "claim": "The debug print statement in _set_point (print(type(register))) should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VOLTTRON__volttron__2445 | VOLTTRON/volttron | 2,445 | defect | e06c5fb363a397fae4da7c543fca47aa96750332 | 09d79cdc4230711d1f8ed242175ac0458071b08f | Filter duplicates at backup_database class | # Description
Attempts to fix data duplication error when an Historian inserts duplicate data in one transaction. In response to @craig8's [suggestion](https://github.com/VOLTTRON/volttron/pull/2443#issuecomment-679308718) of fixing the problem upstream in the BackupDatabase class, I have taken @acedrew's solution i... | diff --git a/volttron/platform/agent/base_historian.py b/volttron/platform/agent/base_historian.py
index c35dae02d4..f76d3b316a 100644
--- a/volttron/platform/agent/base_historian.py
+++ b/volttron/platform/agent/base_historian.py
@@ -1231,9 +1231,9 @@ def report_handled(self, record):
"""
if isinstan... | 6 | 5 | 3 | [{"id": "G0", "claim": "remove_successfully_published needs one more change: it should delete all records that have the same topic and timestamp instead of deleting by an _id field, otherwise the duplicates will remain in the cache and be subject to being published again in the future.", "category": "correctness", "ver... | null |
VOLTTRON__volttron__2475 | VOLTTRON/volttron | 2,475 | defect | 61d97983c4929ed8021fb7c2e891f41f887c4896 | 1e8e5faf7230a4f3bf84c66f1ab551d8a3d653d3 | Updated and added VC tests. | **Description**
- Updated and added VC tests.
- This draft PR is intended to allow for others to run the VC tests in their environment to ensure that there is consistent behavior in the passing and failing tests. Inconsistent behavior is seen with cleanup between tests.
**Consistently failing with DEBUG flag and ... | diff --git a/services/core/VolttronCentral/config b/services/core/VolttronCentral/config
index f8b2ac6d23..0a01e3f143 100644
--- a/services/core/VolttronCentral/config
+++ b/services/core/VolttronCentral/config
@@ -1,28 +1,26 @@
-{
- "users" : {
- "reader" : {
- "password" : "2d7349c51a3914cd6f5dc2... | 1 | 1 | 1 | [{"id": "G0", "claim": "The tests must not import APITester through the services.core module path, because services.core directories should not be modules; the import should reference vctestutils directly (e.g. by putting it on sys.path).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
VOLTTRON__volttron__2563 | VOLTTRON/volttron | 2,563 | defect | 2adfa67f51f8e3d40ee5a8fe83617a65f6c7ef68 | a117fb2ae127c7ecda3f12fd67e44fed06c16f1e | Vcfg add instance name | Added prompt for instance name to vcfg in all cases.
Updated tests to match. | diff --git a/volttron/platform/control.py b/volttron/platform/control.py
index 803c7dfd6b..c48a4ba401 100644
--- a/volttron/platform/control.py
+++ b/volttron/platform/control.py
@@ -2924,6 +2924,7 @@ def add_parser(*args, **kwargs) -> argparse.ArgumentParser:
# make sure the connection to the server is closed... | 3 | 3 | 2 | [{"id": "G0", "claim": "The added comment '# Default instance name to the vip address.' in do_instance_name doesn't make sense.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There is more to validating an instance name than just a non-empty strin... | null |
VOLTTRON__volttron__2581 | VOLTTRON/volttron | 2,581 | defect | d3b6f4d35e701d472afc61cd6211019a37218136 | d3d0a847a13c2f8359c0f45dd157a7de643c0ced | VCTL Cert Handling | Provided management of remote credentials and certs via VCTL.
Provides functionality for listing, approving, denying, and deleting pending certs or credentials.
One interface for RMQ certs and ZMQ credentials.
Added persistent tracking of denied ZMQ credentials,
Removed reference to the Certs object in admin_endp... | diff --git a/docs/source/platform-features/control/authentication-commands.rst b/docs/source/platform-features/control/authentication-commands.rst
index 74d0ca3217..5fab8b7133 100644
--- a/docs/source/platform-features/control/authentication-commands.rst
+++ b/docs/source/platform-features/control/authentication-comman... | 12 | 9 | 4 | [{"id": "G0", "claim": "Running the new `vctl auth remote list` against a platform whose auth service does not implement the new `get_pending_csrs` RPC crashes vctl with an unhandled volttron.platform.jsonrpc.MethodNotFound.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, ... | null |
VOLTTRON__volttron__2586 | VOLTTRON/volttron | 2,586 | defect | 7e2cd513749ea1f26af56307a829ae2457938a56 | bfc8fdf06d864c870584bd287f1aeab85b4a1687 | renamed references to master driver as platform driver | Changed references to master driver to use platform driver | diff --git a/docs/source/agent-framework/historian-agents/forwarder/forward-historian.rst b/docs/source/agent-framework/historian-agents/forwarder/forward-historian.rst
index 8e3d6335d6..77b5858b07 100644
--- a/docs/source/agent-framework/historian-agents/forwarder/forward-historian.rst
+++ b/docs/source/agent-framewor... | 1 | 1 | 0 | [{"id": "G0", "claim": "In the forward-historian docs sentence the PR reworded, \"Due to this\" should read \"Therefore\" instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VOLTTRON__volttron__2622 | VOLTTRON/volttron | 2,622 | defect | 874563003064e836ba69b260d5965dc802e38dbc | 462d9329317c9b31a4f566facd4df4f2d6176cd4 | Pytest fix | # Description
Pytest fixes for simple failover and topic watcher tests.
| diff --git a/services/ops/FailoverAgent/failover/agent.py b/services/ops/FailoverAgent/failover/agent.py
index a729244aae..a5d233baf4 100644
--- a/services/ops/FailoverAgent/failover/agent.py
+++ b/services/ops/FailoverAgent/failover/agent.py
@@ -234,8 +234,8 @@ def simple_primary_state_machine(self, current_state):
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The second alternative in the test_watch_topic_new_group assertion lists the alert's topics wrongly ('fakedevice2/all' after the point tuple instead of as one list), while the added third check has the right list.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "p... | null |
VOLTTRON__volttron__2628 | VOLTTRON/volttron | 2,628 | defect | 8ee7cd030150fa405a56172ee64ec402a80832ab | f947d1aa227e63936ae5de5ea72e632efb0977d1 | VC and Web SSL test fixes | Modifications/Fixes:
- Updated zmq for multi-messagebus fixture to use ssl.
- Removed extraneous uses of create_web_admin.
- Refactored how web admin is set in platformwrapper. Now only sets once.
- Reworked test_admin to include two tests, test_can_authenticate_admin_user and test_can_create_admin_user.
- test_ca... | diff --git a/services/core/VolttronCentral/tests/test_vc_autoregister.py b/services/core/VolttronCentral/tests/test_vc_autoregister.py
index 07517510b7..4d5086c82b 100644
--- a/services/core/VolttronCentral/tests/test_vc_autoregister.py
+++ b/services/core/VolttronCentral/tests/test_vc_autoregister.py
@@ -48,7 +48,6 @@... | 5 | 3 | 3 | [{"id": "G0", "claim": "The new certs_profile_2 fixture is largely a duplicate of the existing certs_profile_1, and the reviewer asks whether the existing cert_profile_1 can be used instead of adding a new cert profile.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {... | null |
VOLTTRON__volttron__2647 | VOLTTRON/volttron | 2,647 | defect | 4a0e393cf01227ae5917324dc83b313ab7fba4da | d3e275442fd242863fd0afd77416e90c629d89f2 | http directory traversal using register_path_route function | # Description
Added check that the resolved path passed from the environment (from client) is within the registered path.
Fixes # voltdev-344
## Type of change
Please delete options that are not relevant.
- [x] security feature
# How Has This Been Tested?
Added unit test for testing the functionali... | diff --git a/volttron/platform/web/platform_web_service.py b/volttron/platform/web/platform_web_service.py
index 7bb613ee23..055e2154c6 100644
--- a/volttron/platform/web/platform_web_service.py
+++ b/volttron/platform/web/platform_web_service.py
@@ -40,6 +40,7 @@
import logging
import mimetypes
import os
+from path... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the misspelling in the comment: 'esier' should be 'easier'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
VOLTTRON__volttron__2733 | VOLTTRON/volttron | 2,733 | defect | 5806ae2ed062c56adbe329b99e03242c85286432 | b053b873f76ab6a6a73e488370bfbc1e891e5d43 | Add integ tests for BACnet driver | # Description
Adds limited integ testing of the BACnet driver using a live BACnet device. Also fixes some documentation on using bacnet scripts.
## Type of change
- [x] New feature (non-breaking change which adds functionality)
# How Has This Been Tested?
Ran pytest on an Ubuntu VM. See output below:
... | diff --git a/docs/source/driver-framework/bacnet/bacnet-auto-configuration.rst b/docs/source/driver-framework/bacnet/bacnet-auto-configuration.rst
index 31cb43c2af..caab88f937 100644
--- a/docs/source/driver-framework/bacnet/bacnet-auto-configuration.rst
+++ b/docs/source/driver-framework/bacnet/bacnet-auto-configurati... | 2 | 2 | 1 | [{"id": "G0", "claim": "The hardcoded PNNL device IP address should not sit in the test file, even though the device is not publicly accessible; it should be moved out (e.g. to an environment variable).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "All ... | null |
VOLTTRON__volttron__2745 | VOLTTRON/volttron | 2,745 | defect | 9a879b6349d6750491d195188429192880845389 | 2a66e730b698a04eeea9e8e9baf50a8152a2297a | Fixed CSR Authorizations. | # Description
Fixed issue with CSR approval requiring the approval command to be used twice.
This issue was caused by a csr missing some of the required subjects. This led to an unhandled exception causing the csr approval to break after a cert was created. Since the cert was created before the unhandled exception,... | diff --git a/services/core/VolttronCentral/tests/test_vc.py b/services/core/VolttronCentral/tests/test_vc.py
index ddb24f37d1..f907e57cbc 100644
--- a/services/core/VolttronCentral/tests/test_vc.py
+++ b/services/core/VolttronCentral/tests/test_vc.py
@@ -77,7 +77,7 @@ def __init__(self):
mock_args = kw... | 2 | 2 | 0 | [{"id": "G0", "claim": "The create_csr docstring should be updated because it documents a name/target_volttron parameter that the function does not have.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The new build_subject helper should get docu... | null |
VOLTTRON__volttron__2756 | VOLTTRON/volttron | 2,756 | defect | 4fd695219a9f1ca602bcf9d81081bbe9fa947ec7 | a95a09e52645d58e9583e55fb1e6ff64992415b2 | Add workflows for dbutils tests; update db images for testing | # Description
Creates separate Workflows for each of the test for dbutils except for mongoutils because MongoDBHistorian is unsupported.
Reduces number of database images to be tested to 2-3 images in accordance with what documentation states on what databases have been tested on.
## Type of change
- [x] ... | diff --git a/.github/workflows/pytest-dbutils-backup_db.yml b/.github/workflows/pytest-dbutils-backup_db.yml
new file mode 100644
index 0000000000..5647f58872
--- /dev/null
+++ b/.github/workflows/pytest-dbutils-backup_db.yml
@@ -0,0 +1,65 @@
+---
+# This workflow is meant as a foundational workflow for running integra... | 2 | 1 | 1 | [{"id": "G0", "claim": "TEST_FILE holds the full test path instead of just the test name, so the archived results file for each matrix job would have a really long and probably broken filename.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The TEST... | null |
VOLTTRON__volttron__2768 | VOLTTRON/volttron | 2,768 | defect | c77016a2bd7f7b0b11726f959a8f322d77a28b0e | e093854d4ac5df78b2b6d15914bd1bd6e3726947 | Change test setup and add GH Workflows for mysqlfunct, postgresqlfuncts; update DNP3 tests | * Refactors integ tests for mysqlfuncts, postgresqlfuncts, and timescaledb to use one container as the test db container instead of creating a new container for every tests, significantly reduces testing time (e.g. for postgresqlfuncts on one image, test completion went from 10m 45seconds to 49 seconds when run locally... | diff --git a/.github/workflows/pytest-dbutils-mysqlfuncts.yml b/.github/workflows/pytest-dbutils-mysqlfuncts.yml
new file mode 100644
index 0000000000..81f6bc5f01
--- /dev/null
+++ b/.github/workflows/pytest-dbutils-mysqlfuncts.yml
@@ -0,0 +1,58 @@
+---
+# This workflow is meant as a foundational workflow for running i... | 2 | 2 | 0 | [{"id": "G0", "claim": "Change the mysqlfuncts workflow trigger from the bare `on: [pull_request]` to the linked method: pull_request on main/develop/releases/** and push on develop/releases/**, so the workflow does not run twice for the same change.", "category": "design", "verdict": "supported", "priority": "P2", "sc... | null |
VOLTTRON__volttron__2825 | VOLTTRON/volttron | 2,825 | defect | 3c96aa8eea662f5831a0d80fac1839811a2f3256 | e91e9eab5a38a4183b44ea067b14edccbfe201fb | Bugfix/control connection check | # Description
Provides a check if the platform is running for control methods.
Adds checks to appropriate methods so vctl will behave correctly in cases where the platform is or is not running.
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change w... | diff --git a/volttron/platform/control.py b/volttron/platform/control.py
index fe2ea7eb0f..5f1721e070 100644
--- a/volttron/platform/control.py
+++ b/volttron/platform/control.py
@@ -794,6 +794,24 @@ def log_to_file(file, level=logging.WARNING,
"name tag uuid vip_identity agent_user")
... | 2 | 2 | 0 | [{"id": "G0", "claim": "Remove the commented-out connection check left behind in show_serverkey.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The needs_connection documentation should specify that opts must be the first argument passed to func... | null |
VOLTTRON__volttron__2857 | VOLTTRON/volttron | 2,857 | defect | fb5ef40cd3a1d1d328b86ae4985ad93460f0371e | c60ae2afe017fc9e936f2864b12819baeca3454b | Create workflow to test miscellaneous platform tests | # Description
Created a new workflow to be added into our CI pipeline that will test miscellaneous platform tests.
Fixes #VOLTDEV-572
## Type of change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds... | diff --git a/.github/workflows/pytest-miscellaneous-tests.yml b/.github/workflows/pytest-miscellaneous-tests.yml
new file mode 100644
index 0000000000..60d9c642a1
--- /dev/null
+++ b/.github/workflows/pytest-miscellaneous-tests.yml
@@ -0,0 +1,102 @@
+---
+# This workflow is meant as a foundational workflow for running ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The workflow should run the whole directory of tests (test_path: volttrontesting/platform) instead of enumerating individual test files, so that any additional tests are picked up automatically.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1"... | null |
VOLTTRON__volttron__2859 | VOLTTRON/volttron | 2,859 | defect | 882da926ce881f4691bd228835834252e62818ec | 4f85d07c46c279f0c6500bc52da55042b630380d | Add OpenADRVEN agent | # Description
* Adds OpenADRVEN agent to 'services' folder including unit test
* Adds pytest-asyncio and pytest-timeout to 'testing' requirements
* Updates ReadTheDocs with OpenADRVEN documentation
Screenshot of ReadTheDocs:
:
return func(opts, *args, **kwargs)
return wrapper
+
def _list_ag... | 2 | 2 | 2 | [{"id": "G0", "claim": "Running `vctl start --all` does not produce an error, whereas the reviewer expects it to fail like `vctl start foo` does when the agent does not exist.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Because the PR changes `--... | null |
VOLTTRON__volttron__744 | VOLTTRON/volttron | 744 | defect | 9a2f17a2ac6415ead10f139f743cf109eb14e036 | 0f5e8dc466b19bbc048d71b73a81ece1296ae875 | Use VIP ids for actuator schedules #251 | <!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/volttron/volttron/744)
<!-- Reviewable:end -->
| diff --git a/docs/source/core_services/service_agents/actuator/ActuatorSchedulePreemption.rst b/docs/source/core_services/service_agents/actuator/ActuatorSchedulePreemption.rst
index c42399401d..b1393c2ede 100644
--- a/docs/source/core_services/service_agents/actuator/ActuatorSchedulePreemption.rst
+++ b/docs/source/co... | 3 | 1 | 1 | [{"id": "G0", "claim": "Too many tests are now marked xfail now that request ids are ignored, and the tests that verify the agent identity should probably be removed instead of being marked xfail.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The sched... | null |
VOLTTRON__volttron__850 | VOLTTRON/volttron | 850 | defect | 6b8971d774916d3028de2e7429a101b607819646 | 65bf3b5316480dd0bc889d1a52386960c6343889 | Changes to make count param in historian query to apply to each individual topic queried | <!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/volttron/volttron/850)
<!-- Reviewable:end -->
| diff --git a/services/core/MongodbHistorian/mongodb/historian.py b/services/core/MongodbHistorian/mongodb/historian.py
index d606279f1f..689e18f2fe 100644
--- a/services/core/MongodbHistorian/mongodb/historian.py
+++ b/services/core/MongodbHistorian/mongodb/historian.py
@@ -57,7 +57,7 @@
import logging
import sys
-... | 3 | 3 | 0 | [{"id": "G0", "claim": "The new layout of the reformatted identity deprecation-warning _log.warning block is poor and should be redone in a more conventional formatting in both the Mongo and the SQL historian.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1"... | null |
VOLTTRON__volttron__912 | VOLTTRON/volttron | 912 | defect | 5dd46495dd421248d5fcd51601576ae8b36d540a | 1a9e24cf5a26f7d541e987427230e9bd9073ea52 | Emailer Update and Fixes | This patch updates the emailer and fixes #911
Included is a test send email script that when ran will connect and send an email via the alert system as well as through the pubsub system.
Note you must configure the emaileragent correctly for this to happen and have a valid smtp address.
<!-- Reviewable:start -->
-... | diff --git a/services/core/EmailerAgent/emailer/agent.py b/services/core/EmailerAgent/emailer/agent.py
index 669669820c..94307caec2 100644
--- a/services/core/EmailerAgent/emailer/agent.py
+++ b/services/core/EmailerAgent/emailer/agent.py
@@ -54,166 +54,315 @@
# operated by BATTELLE for the UNITED STATES DEPARTMENT OF... | 2 | 2 | 1 | [{"id": "G0", "claim": "Update the agent's health status when an email fails to send so the failure is visible in the VC UI.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the bare ':return:' field from the added docstrings.", "category": "do... | null |
VRSEN__agency-swarm__246 | VRSEN/agency-swarm | 246 | defect | 43f4943ece2d332cb43d11a12b473741185caf5f | 96c0524f65ae30a4f3f54b8be49a45ae00f180d4 | Improve observability and fix tests | - Support multiple trackers
- Fix tests
- Fail early if a tool name was hallucinated | diff --git a/agency_swarm/__init__.py b/agency_swarm/__init__.py
index 4f9bde131..902163c4c 100644
--- a/agency_swarm/__init__.py
+++ b/agency_swarm/__init__.py
@@ -6,7 +6,6 @@
get_openai_client,
init_tracking,
llm_validator,
- set_callback_handler,
set_openai_client,
set_openai_key,
)
@@ -... | 1 | 1 | 0 | [{"id": "G0", "claim": "pyproject.toml still pins termcolor==2.4.0 and wasn't updated to termcolor>=2.3.0 like requirements.txt was.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VRSEN__agency-swarm__282 | VRSEN/agency-swarm | 282 | defect | 5660da5c575507d1364769dceca81fca659e8311 | 1e2ada8ca3ecfa16e6c4d397fb620c9acb8db76b | Fix Response Validator | Fix https://github.com/VRSEN/agency-swarm/issues/278
# Fix Critical Response Validator Bugs: Exception Swallowing and eval() Security Issue
## 🚨 Critical Bugs Fixed
**1. Silent Exception Swallowing**: When validation retries were exhausted, exceptions were silently ignored instead of being raised. This made v... | diff --git a/agency_swarm/threads/thread.py b/agency_swarm/threads/thread.py
index 60d48bca4..4e1e118c5 100644
--- a/agency_swarm/threads/thread.py
+++ b/agency_swarm/threads/thread.py
@@ -140,9 +140,7 @@ def get_completion(
self.init_thread()
if not recipient_agent:
recipient_agent = sel... | 6 | 4 | 3 | [{"id": "G0", "claim": "Setting validation_attempts to 1 in the exception-raising demo test will still do a retry; it should be set to 0 instead so that an exception is raised.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The multiple-retry demo test ... | null |
VRSEN__agency-swarm__291 | VRSEN/agency-swarm | 291 | defect | 07b31fa3b626bf9bc2525c7cffe9fec13712696a | 195c4c7503650985c921a6f736a9df5676543b3d | Http server and pre-loaded tools support, reliability improvements | Updated mcp tools integration with the following:
1. Added http server support
2. Added new "pre_loaded_tools" input parameter
3. Added reconnection logic
4. Improved error handling
5. Updated tests, docs and demo | diff --git a/agency_swarm/tools/ToolFactory.py b/agency_swarm/tools/ToolFactory.py
index 94483c234..1f3f69688 100644
--- a/agency_swarm/tools/ToolFactory.py
+++ b/agency_swarm/tools/ToolFactory.py
@@ -10,6 +10,7 @@
import httpx
import jsonref
+from pydantic import BaseModel
from datamodel_code_generator import Dat... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `pre_loaded_tools` example in the docs should reference an existing tool definition instead of the non-existent `pre_loaded_tool`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VRSEN__agency-swarm__293 | VRSEN/agency-swarm | 293 | defect | 0aeafcf712316668f60cd547e66ce5f981d3d4ee | aa695dd07949d72b9ac3c74966618571fedb5909 | Mcp server integration | 1. Added mcp server integration
2. Added new cli command to start mcp server
3. Updated mcp client to avoid potential thread halting
4. Added cors origin parameter to fastapi
5. Updated demos and docs | diff --git a/agency_swarm/agents/agent.py b/agency_swarm/agents/agent.py
index 79ed8c6c6..d9ed1b6e0 100644
--- a/agency_swarm/agents/agent.py
+++ b/agency_swarm/agents/agent.py
@@ -629,7 +629,7 @@ def _add_mcp_tools(self):
# Get tools from the MCP server
mcp_tools = ToolFactory.from_mcp(server... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new mcp_server module performs library-level logging configuration, calling logging.basicConfig(level=logging.INFO) at import time.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new docs line for the return_app parameter ... | null |
VRSEN__agency-swarm__423 | VRSEN/agency-swarm | 423 | defect | dd43f6ec9c31f9d25d4dad73dbca49d9cc3cc30a | 4a0db31a5337140b6d64a965387386045e9896ae | fix: streamline vector store ingestion waits | ## Summary
- batch vector-store ingestion in AgentFileManager and tighten created_at handling to use the typed OpenAI models
- introduce multi-file polling with exponential backoff in FileSync to cover deferred ingestions
- extend unit and integration tests to cover deferred ingestion flows plus the stricter cleanup... | diff --git a/AGENTS.md b/AGENTS.md
index 7546ec36c..d7ba780b4 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -85,6 +85,9 @@ These requirements apply to every file in the repository. Bullets prefixed with
# Format code before running CI (auto-fixes style)
`make format`
+# Lint and type-check before staging or committing
... | 5 | 5 | 3 | [{"id": "G0", "claim": "Rebuilding the vector store renames and re-uploads local files with fresh OpenAI IDs but never updates the agent's existing CodeInterpreterTool bindings, so agents that had code-interpreter attachments keep a tool configuration pointing at deleted files and will fail on the next code-interpreter... | null |
VRSEN__agency-swarm__426 | VRSEN/agency-swarm | 426 | defect | 1192bc0069f7974763f0e91f1c038a5410e5d40f | 53177da154fc752f65f4a83d3414163c2df8ffa0 | Added object serialization to visualize function, moved serialize() to util | - Solved bug causing visualize() to crash when passed agent with LiteLLM() model.
- Moved serialize() function to util folder
fixes #408 | diff --git a/src/agency_swarm/integrations/fastapi_utils/endpoint_handlers.py b/src/agency_swarm/integrations/fastapi_utils/endpoint_handlers.py
index 433fa6b84..041f019eb 100644
--- a/src/agency_swarm/integrations/fastapi_utils/endpoint_handlers.py
+++ b/src/agency_swarm/integrations/fastapi_utils/endpoint_handlers.py... | 2 | 2 | 2 | [{"id": "G0", "claim": "When string_output=False, serialize() returns the original object upon detecting a circular reference, which can reintroduce circular references into the data and make json.dumps() (e.g. in html_generator.py) fail when the output is used.", "category": "correctness", "verdict": "supported", "pri... | null |
VRSEN__agency-swarm__431 | VRSEN/agency-swarm | 431 | defect | 8f0fb6fe0012f20a16aa8f73e15e6756f14d956a | dd328c026c23bc2b169db2f5b0325b065ec855a9 | refactor: simplify citation extraction | refactor: simplify citation extraction
- src/agency_swarm/messages/message_formatter.py: drop runtime coercion and rely on ResponseFileSearchToolCall
- src/agency_swarm/utils/citation_extractor.py: remove legacy annotation handling in favor of SDK types
- tests/test_agent_modules/test_citation_extractor.py: rebuild ... | diff --git a/src/agency_swarm/messages/message_formatter.py b/src/agency_swarm/messages/message_formatter.py
index 7181e6a40..a2a718024 100644
--- a/src/agency_swarm/messages/message_formatter.py
+++ b/src/agency_swarm/messages/message_formatter.py
@@ -18,7 +18,6 @@
ResponseOutputText,
)
from openai.types.respon... | 1 | 1 | 1 | [{"id": "G0", "claim": "The refactored loop iterates over `content_item.annotations` without a null check, and since `ResponseOutputText.annotations` is optional and defaults to `None`, citation extraction will raise `TypeError: 'NoneType' object is not iterable` on messages with no annotations; add a null check or ite... | null |
VRSEN__agency-swarm__453 | VRSEN/agency-swarm | 453 | defect | f2324f056942b8623a1df5c457f5b63e3be5e2d0 | 57f654cdcf71c5a27a078414f2a722ea1c73e8f5 | Add ToolFactory.from_mcp to convert MCP servers into validated tools | - Introduces ToolFactory.from_mcp to turn MCP servers into BaseTools/FunctionTools with schema-preserving Pydantic models, retry/reconnect handling, and optional strict schemas
- Agents now auto-convert mcp_servers into tools while propagating convert_schemas_to_strict
- BaseTool repr includes inline schema details, ... | diff --git a/src/agency_swarm/tools/tool_factory.py b/src/agency_swarm/tools/tool_factory.py
index cc88f272f..befb531bd 100644
--- a/src/agency_swarm/tools/tool_factory.py
+++ b/src/agency_swarm/tools/tool_factory.py
@@ -4,24 +4,56 @@
import json
import logging
import sys
+import threading
import uuid
+from collect... | 2 | 2 | 1 | [{"id": "G0", "claim": "ToolFactory.from_mcp unconditionally disables SDK tracing and then always sets it back to False in the finally block, so a caller that had tracing disabled gets it permanently re-enabled; the helper should capture the prior state and restore that exact value instead of forcing False.", "category... | null |
VRSEN__agency-swarm__455 | VRSEN/agency-swarm | 455 | defect | 1a99f4200ea784bfe421341778075fba716667d5 | b97573660726270141b13ae93c1fbf1043c0f774 | fix: normalize basetool error output | - src/agency_swarm/tools/tool_factory.py: route ValidationError/runtime errors through default tool handler
- tests/test_agent_modules/test_tool_factory_core.py: add parity tests for value/type/mixed errors
| diff --git a/src/agency_swarm/tools/tool_factory.py b/src/agency_swarm/tools/tool_factory.py
index cc88f272f..5cb065211 100644
--- a/src/agency_swarm/tools/tool_factory.py
+++ b/src/agency_swarm/tools/tool_factory.py
@@ -6,7 +6,7 @@
import sys
import uuid
from pathlib import Path
-from typing import Any
+from typing... | 1 | 1 | 0 | [{"id": "G0", "claim": "Instead of returning only the first validator message, _format_value_error should surface all validation errors to the agent, which would reduce the amount of potential retries.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VRSEN__agency-swarm__456 | VRSEN/agency-swarm | 456 | defect | 660d7df2a5af83300d9e144edd808afe78f70b8b | a8647595344083fbafa2349772292c4c26e3bb79 | Moved timeout into a tool input field | Updated src/agency_swarm/tools/built_in/IPythonInterpreter.py to move timeout into a tool input field | diff --git a/src/agency_swarm/tools/built_in/IPythonInterpreter.py b/src/agency_swarm/tools/built_in/IPythonInterpreter.py
index d77bfa10a..41c20672f 100644
--- a/src/agency_swarm/tools/built_in/IPythonInterpreter.py
+++ b/src/agency_swarm/tools/built_in/IPythonInterpreter.py
@@ -1,11 +1,13 @@
# ipython_interpreter.py... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new run implementation always uses the input field self.timeout and no longer honors the ToolConfig kernel_timeout_seconds override (e.g. ShortTimeoutInterpreter), so agents relying on it silently fall back to the 60-second default and long-running code can execute far longer than intended; ... | null |
VRSEN__agency-swarm__471 | VRSEN/agency-swarm | 471 | defect | 408cac78957bafab9d87c42a0ede0edf90dc8cbd | 63c9acf4c5a516d29904ab36c1efda9edf12d71c | Improve Terminal Tool Formatting | - Display ApplyPatchTool calls with syntax-highlighted diffs
- Display Shell/LocalShell calls with formatted commands
- Escape Rich markup in tool inputs/outputs and user input
- Add tests for new functionality
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Formats apply-patch and shell tool calls with syntax-highlighted... | diff --git a/src/agency_swarm/ui/core/console_event_adapter.py b/src/agency_swarm/ui/core/console_event_adapter.py
index b2e7a1761..10a45913a 100644
--- a/src/agency_swarm/ui/core/console_event_adapter.py
+++ b/src/agency_swarm/ui/core/console_event_adapter.py
@@ -4,6 +4,9 @@
from rich.console import Console, Group
f... | 2 | 2 | 2 | [{"id": "G0", "claim": "console.rule() is called unconditionally after _format_shell_call/_format_apply_patch_call even when those methods return early without displaying content, printing spurious separators; the rule should be conditional on output actually being displayed.", "category": "correctness", "verdict": "su... | null |
VRSEN__agency-swarm__474 | VRSEN/agency-swarm | 474 | defect | f0d53770e6c7e929ee4090695d8684946ce6eada | 9e2a7fca732c222811dc0a4b47458704963435d9 | Added cancel feature to the terminal demo | - Add cross-platform ESC detection during streaming, matching FastAPI pattern.
- Fix orphaned message filter to use function_call.id instead of call_id.
- Remove items that depended on removed reasoning to prevent API errors.
- Add watchfiles-based hot reload for terminal demo (reload=True)
<!-- CURSOR_SUMMARY -... | diff --git a/src/agency_swarm/messages/message_filter.py b/src/agency_swarm/messages/message_filter.py
index 07231d8dc..3969f5504 100644
--- a/src/agency_swarm/messages/message_filter.py
+++ b/src/agency_swarm/messages/message_filter.py
@@ -122,11 +122,16 @@ def remove_orphaned_messages(
msg_type = msg.get... | 2 | 2 | 2 | [{"id": "G0", "claim": "The orphan filter now prefers msg.get(\"id\") over msg.get(\"call_id\") when collecting identifiers for call types, so if a function_call has both fields with different values, valid call/output pairs will be incorrectly filtered as orphaned.", "category": "correctness", "verdict": "supported", ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.