Evaluate minimal reasoning for OpenAI PDF remediation latency
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1
- Forks
- 0
- Avg merge
- 6h 6m
- Merged PRs (30d)
- 2
Description
Context
While migrating PDF remediation calls from Chat Completions to the Responses API, we ran a small real-API timing smoke test against gpt-5-mini to compare low vs minimal reasoning effort for lightweight remediation tasks.
The current migration branch uses low reasoning effort for Responses API calls to preserve the original intent of reducing latency while keeping reasoning enabled.
Smoke test results
Measured with gpt-5-mini, timing only the awaited API service call. Prompts were simple title generation and table classification samples.
Previous baseline
- Chat Completions with medium reasoning was reportedly averaging about
7sper call.
Responses API with low reasoning
A 5-call smoke run across title and table classification showed:
- Title service: avg
2.23s, median1.84s, range1.69sto3.38s - Table classification: avg
2.40s, median2.07s, range2.01sto3.75s - Combined: avg
2.31s, median2.07s
A later 3-iteration comparison run showed:
- Title low avg:
3.26s - Table classification low avg:
2.27s
Responses API with minimal reasoning
Same 3-iteration comparison run:
- Title minimal avg:
0.92s - Table classification minimal avg:
1.70s
Sample outputs looked acceptable in the tiny smoke test:
- Minimal title:
UC Davis PDF Accessibility Remediation Guide - Minimal table classification:
data_table, confidence0.9
Responses API with none reasoning
none is not supported by gpt-5-mini. The API returned:
Unsupported value: 'none' is not supported with the 'gpt-5-mini' model. Supported values are: 'minimal', 'low', 'medium', and 'high'.
Investigation goals
- Decide whether text-only remediation calls should use minimal reasoning instead of low reasoning.
- Evaluate latency and quality for at least:
- PDF title generation
- table classification
- character encoding repair
- ActualText repair
- Keep image alt text separate unless/until alt-text quality evals support changing it.
- Confirm whether any deployed model choices support
none, and whethernoneis appropriate for any remediation task.
Acceptance criteria
- A repeatable timing/eval script or test harness exists for comparing reasoning effort levels.
- Results include latency distributions and representative quality samples.
- Recommendation is documented for each OpenAI-backed remediation task.
- If minimal reasoning is adopted, defaults are changed with tests covering the selected effort level.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the migration branch's Responses API calls for PDF title generation, table classification, character encoding repair, and ActualText repair. Build a repeatable timing and quality comparison using the listed reasoning levels, then document task-specific recommendations and add tests if minimal reasoning becomes the default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- ai, backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100