[bot] OpenAI Decisions API (client.decisions.create) not instrumented
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 50/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- ruby
- 領域
- ai, observability
調査の方向性
Start with lib/braintrust/contrib/openai/integration.rb (the patchers list near line 53) and lib/braintrust/contrib/openai/instrumentation/moderations.rb, the simplest non-streaming patcher to copy. A new DecisionsPatcher and instrumentation/decisions.rb would wrap client.decisions.create. Done when a call produces a span with model, input, questions, answers and usage, and a test under the OpenAI contrib specs verifies it.
索引モデルが issue の本文から書いたものです。
説明
<!-- provider-gap-audit: openai-decisions-api-not-instrumented -->
Summary
OpenAI shipped a new standalone Decisions API (client.decisions.create), reaching public beta on 2026-10-06 and landing in the official openai Ruby gem the same day (v0.101.0). It is a distinct generative inference endpoint — not a variant of Chat Completions or Responses — and this SDK's OpenAI integration has no instrumentation for it.
The endpoint runs on a dedicated model (gpt-6-luna) and returns typed answers (predicate/choice/score questions with probabilities and confidence) over text/image input, billed separately from normal chat/responses usage. This is exactly the kind of distinct generative execution surface this SDK otherwise instruments (model, input, output, usage/cost).
What is missing
No DecisionsPatcher or Instrumentation::Decisions exists. The OpenAI integration only wires up three patchers:
# lib/braintrust/contrib/openai/integration.rb:53
[ChatPatcher, ResponsesPatcher, ModerationsPatcher]
and lib/braintrust/contrib/openai/instrumentation/ only contains chat.rb, responses.rb, common.rb, and moderations.rb — no file for client.decisions.create.
Expected instrumentation (matching the pattern used for moderations.rb, the simplest existing non-streaming patcher): a span per client.decisions.create call capturing the model (gpt-6-luna), input, the questions array (names/types/instructions), and the returned answers (values, probabilities, confidence) plus usage/cost, since Decisions billing differs from standard chat pricing ($0.10/M input tokens, no output/cache charge).
Braintrust docs status
not_found — https://www.braintrust.dev/docs/integrations/ai-providers/openai documents Chat Completions, Responses, Embeddings, Moderations, Batch API, Agents API, Images, and Audio for the OpenAI integration. No mention of Decisions anywhere on the page.
Upstream sources
- Official docs: https://developers.openai.com/api/docs/guides/decisions
openaiRuby gem changelog: https://github.com/openai/openai-ruby/releases — v0.101.0 (2026-10-06): "api: add standalone Decisions support (#811)"- Coverage of the public-beta launch: https://www.unite.ai/openai-releases-decisions-api-in-public-beta-powered-by-gpt-6-luna/
Local repo files inspected
lib/braintrust/contrib/openai/integration.rb(line 53) —patchersreturns only[ChatPatcher, ResponsesPatcher, ModerationsPatcher]lib/braintrust/contrib/openai/patcher.rb— noDecisionsPatcherclass definedlib/braintrust/contrib/openai/instrumentation/— contains onlychat.rb,responses.rb,common.rb,moderations.rb; nodecisions.rb- Grep for
decisions/Decisionacrosslib/— zero matches
- 主要言語
- Ruby
- スター
- 9
- フォーク
- 11
- 平均マージ
- 3日 43分
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
braintrustdata/braintrust-sdk-ruby のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
braintrustdata/braintrust-sdk-ruby#155 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
braintrustdata/braintrust-sdk-ruby#143 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
braintrustdata/braintrust-sdk-ruby#137 ·
メンテナーはふだん 1 日以内に返信
-
ruby
難易度 3/5 半日 初心者へのやさしさ 62/100
braintrustdata/braintrust-sdk-ruby#229 ·
メンテナーはふだん 1 日以内に返信
-
ruby
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
braintrustdata/braintrust-sdk-ruby#228 ·
メンテナーはふだん 1 日以内に返信
braintrustdata/braintrust-sdk-ruby の issue をすべて見る
似ている issue
-
Windows: packaged_agent_ruby? never matches 'Puppet Labs\Puppet', so the openvox gem is not foundオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
temporalio/sdk-ruby#625 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 94/100
zerocracy/judges-action#2803 ·
メンテナーはふだん 5 日以内に返信
-
empty tone.rbオープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100