Skip to content

Experiment scripts for Biodex and Reranking#219

Merged
liana313 merged 7 commits into
mainfrom
sc/ranking_directory
Jun 13, 2026
Merged

Experiment scripts for Biodex and Reranking#219
liana313 merged 7 commits into
mainfrom
sc/ranking_directory

Conversation

@StanChan03

@StanChan03 StanChan03 commented Oct 9, 2025

Copy link
Copy Markdown
Collaborator

Essential Elements of an Effective PR Description Checklist

  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating README.md and examples for new features.

PLEASE FILL IN THE PR DESCRIPTION HERE ENSURING ALL CHECKLIST ITEMS ABOVE HAVE BEEN CONSIDERED.

Purpose

Includes new directory benchmarks with scripts used in biodex and reranking experiments in the LOTUS paper.

Test Plan

Run scripts and compare results with results in paper

Test Results

N/A

(Optional) Documentation Update

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Refactoring (no functional changes)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, updating docstrings
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

BEFORE SUBMITTING, PLEASE READ https://github.com/lotus-data/lotus/blob/main/CONTRIBUTING.md
anything written below this line will be removed by GitHub Actions

@StanChan03 StanChan03 changed the title Experiment scripts for Biodex and Reranking [WIP] Experiment scripts for Biodex and Reranking Oct 9, 2025
@StanChan03 StanChan03 marked this pull request as ready for review November 3, 2025 08:15
@StanChan03 StanChan03 changed the title [WIP] Experiment scripts for Biodex and Reranking Experiment scripts for Biodex and Reranking Nov 4, 2025
@liana313 liana313 merged commit 4a6bb95 into main Jun 13, 2026
17 of 18 checks passed
@liana313 liana313 deleted the sc/ranking_directory branch June 13, 2026 18:42
liana313 added a commit that referenced this pull request Jun 13, 2026
…/) (#261)

## Problem

After #219 merged, the repo had **two** benchmark directories:
- `benchmark/` (singular, new in #219) — `biodex`, `reranking`
- `benchmarks/` (plural, pre-existing) — `failure_mode_discovery`,
`llm_as_judge`, `rag_pubmedqa`

## Fix

Move the two new suites into the pre-existing `benchmarks/`:
- `benchmark/biodex` → `benchmarks/biodex`
- `benchmark/reranking` → `benchmarks/reranking`

`benchmark/` is removed. All 10 files move as git renames (history
preserved).

## Safety

- No subdirectory name collisions between the two folders.
- No code or docs reference the singular `benchmark/` path.
- The biodex/reranking scripts use sibling imports (e.g. `from metrics
import ...`) that resolve within their own folder, unaffected by the
parent move.
- `benchmarks/main.py` only registers its existing subcommands; the
moved suites are run standalone per their READMEs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@liana313 liana313 mentioned this pull request Jun 13, 2026
liana313 added a commit that referenced this pull request Jun 13, 2026
Release **v1.2.2**. Bumps `pyproject.toml` 1.2.1 → 1.2.2 and regenerates
`uv.lock` to match (so the locked-constraints CI step stays green).

Notable changes shipping in this release since 1.2.1:
- **#260** — gpt-5 / reasoning-model accuracy fix: model-aware
`max_tokens` default + truncation warning (closes #255)
- **#262** — fix flaky `test_pairwise_judge`
- **#261** — consolidate duplicate benchmark directories
- **#219** — Biodex + reranking benchmark suites (resolves #227)

On merge I'll tag `v1.2.2` off `main`, which triggers `publish.yml` to
build and publish to PyPI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants