Skip to content

GitAuto: random_seedを実行結果(result.json)から取得したい#180

Open
gitauto-ai[bot] wants to merge 5 commits intomasterfrom
gitauto/issue-101-6786bf21-d002-4f02-97c1-0d18c74c44b2
Open

GitAuto: random_seedを実行結果(result.json)から取得したい#180
gitauto-ai[bot] wants to merge 5 commits intomasterfrom
gitauto/issue-101-6786bf21-d002-4f02-97c1-0d18c74c44b2

Conversation

@gitauto-ai
Copy link
Contributor

@gitauto-ai gitauto-ai bot commented Nov 21, 2024

Resolves #101

どのような機能か

実行結果(result.json)から random_seed を取得できる機能を追加します。

なぜこの機能が必要か

random_seed は実験の再現性やデバッグにおいて重要な情報です。現在は jq コマンドを使用して手動で取得していますが、直接プログラム内から取得できる機能を提供することで、ユーザーの利便性を向上させます。

実装方法と理由

  1. start.pyrandom_seed を抽出するロジックを追加します。
  2. コマンドライン引数や設定ファイルを通じて random_seed を表示または出力するオプションを提供します。
  3. result.json の構造に基づいて正確に random_seed を解析・取得するためのパーシング機能を実装します。

これにより、ユーザーは追加のツールを必要とせずに、直接プログラム内から random_seed を取得できるようになります。

後方互換性について

既存の機能に影響を与えないよう、オプションとして新機能を追加します。これにより、従来のユーザーは変更を強制されず、新しい機能を必要に応じて利用できます。

Test these changes locally

git checkout -b gitauto/issue-101-6786bf21-d002-4f02-97c1-0d18c74c44b2
git pull origin gitauto/issue-101-6786bf21-d002-4f02-97c1-0d18c74c44b2

@gitauto-ai
Copy link
Contributor Author

gitauto-ai bot commented Nov 21, 2024

Committed the Check Run build (3.10) error fix! Running it again...

@gitauto-ai
Copy link
Contributor Author

gitauto-ai bot commented Nov 21, 2024

Committed the Check Run build (3.9) error fix! Running it again...

@gitauto-ai
Copy link
Contributor Author

gitauto-ai bot commented Nov 21, 2024

Committed the Check Run MSBuild (3.9) error fix! Running it again...

@gitauto-ai
Copy link
Contributor Author

gitauto-ai bot commented Nov 21, 2024

Committed the Check Run MSBuild (3.10) error fix! Running it again...

1 similar comment
@gitauto-ai
Copy link
Contributor Author

gitauto-ai bot commented Nov 21, 2024

Committed the Check Run MSBuild (3.10) error fix! Running it again...

@gitauto-ai gitauto-ai bot added the gitauto label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

random_seedを実行結果(result.json)から取得したい

0 participants