ucdavis / ucdavis/readable

Evaluate minimal reasoning for OpenAI PDF remediation latency

Open
#101 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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 7s per call.
Responses API with low reasoning

A 5-call smoke run across title and table classification showed:

  • Title service: avg 2.23s, median 1.84s, range 1.69s to 3.38s
  • Table classification: avg 2.40s, median 2.07s, range 2.01s to 3.75s
  • Combined: avg 2.31s, median 2.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, confidence 0.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 whether none is 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.