惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tenable Blog
D
DataBreaches.Net
S
Secure Thoughts
B
Blog
S
Schneier on Security
Y
Y Combinator Blog
P
Proofpoint News Feed
C
Cybersecurity and Infrastructure Security Agency CISA
C
Cyber Attacks, Cyber Crime and Cyber Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
F
Full Disclosure
Engineering at Meta
Engineering at Meta
L
LangChain Blog
T
Threatpost
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Hacker News
The Hacker News
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
Cyberwarzone
Cyberwarzone
T
The Exploit Database - CXSecurity.com
雷峰网
雷峰网
博客园 - 司徒正美
Help Net Security
Help Net Security
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Application and Cybersecurity Blog
Application and Cybersecurity Blog
P
Privacy International News Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Vulnerabilities – Threatpost
Cisco Talos Blog
Cisco Talos Blog
L
LINUX DO - 热门话题
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threat Research - Cisco Blogs
Recent Announcements
Recent Announcements
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
H
Heimdal Security Blog
Jina AI
Jina AI
C
Cisco Blogs
Attack and Defense Labs
Attack and Defense Labs
Microsoft Security Blog
Microsoft Security Blog
L
Lohrmann on Cybersecurity
aimingoo的专栏
aimingoo的专栏
D
Docker
I
Intezer
C
Check Point Blog
Cloudbric
Cloudbric
小众软件
小众软件
V2EX - 技术
V2EX - 技术

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Engineering CellFateBench: A Reproducible Python Benchmark for Single-Cell Genomics Reasoning
Oluwagbade Odimayo · 2026-06-17 · via DEV Community

CellFateBench is a scientific software and benchmark-engineering project for evaluating reasoning over single-cell genomics workflows.

The project was designed around a practical question:

How can single-cell analysis outputs be turned into reproducible benchmark tasks with public prompts, hidden answer keys, oracle outputs, scoring, calibration, Docker validation, and CI?

What CellFateBench does

Single-cell genomics workflows often produce outputs such as:

  • clusters;
  • embeddings;
  • marker tables;
  • pseudotime summaries;
  • spatial patterns;
  • topology summaries;
  • RNA velocity layers.

Those outputs still require interpretation.

A solver may need to decide which state is likely upstream, whether a branch is terminal, whether a spatial pattern is meaningful, whether a ring-like pattern supports a cyclic claim, or whether RNA velocity evidence is strong enough to support a directionality statement.

CellFateBench focuses on that reasoning layer.

It converts single-cell analysis contexts into structured benchmark assets:

  • public benchmark tasks;
  • hidden answer keys;
  • oracle outputs;
  • deterministic validators;
  • scoring outputs;
  • calibration logs;
  • difficulty rebalancing outputs;
  • reproducible pipelines;
  • Docker validation;
  • GitHub Actions CI.

The project is not a notebook-only analysis. It is structured as a reproducible scientific software repository.

Repository architecture

The repository is organised around a clear separation of source code, workflow scripts, tests, benchmark assets, documentation, and generated outputs.

cellfatebench-single-cell-analysis/
├── benchmark_tasks/
│   ├── public/
│   ├── hidden/
│   ├── oracle_outputs/
│   └── calibration_logs/
├── configs/
├── data/
│   ├── raw/
│   ├── processed/
│   ├── reference/
│   └── synthetic/
├── docs/
├── results/
│   ├── figures/
│   ├── reports/
│   └── tables/
├── sample_solver_answers/
├── scripts/
├── src/cellfatebench/
├── tests/
├── Dockerfile
├── Makefile
├── environment.yml
└── README.md

The key design decision is that benchmark assets are explicit and inspectable.

Public tasks are not mixed with hidden answers. Oracle outputs are separate. Scoring code is separate from task generation. Pipelines are exposed through Makefile commands.

That structure makes the project easier to review, test, and extend.

Two benchmark layers: v1 and v2

CellFateBench currently has two layers.

Layer Purpose Status
v1 controlled benchmark Synthetic single-cell data with known hidden truth for trajectory, spatial, and topology reasoning Complete
v2 public RNA velocity extension Public scVelo pancreas dataset layer with RNA velocity reasoning tasks, solver evaluation, empirical calibration, and difficulty rebalancing Complete

This design allows the project to balance two needs:

  1. controlled hidden truth for deterministic scoring;
  2. public dataset context for biological realism.

v1: controlled synthetic benchmark

The v1 layer uses controlled synthetic single-cell data.

This is important because benchmark scoring requires known answers. In many real datasets, the true biological state, lineage structure, or spatial domain assignment may be uncertain. Synthetic data allows the benchmark to define hidden truth and use that hidden truth for deterministic evaluation.

The v1 dataset includes:

  • 900 synthetic cells;
  • 60 genes;
  • designed root or progenitor state;
  • transition state;
  • terminal states;
  • branch labels;
  • pseudotime values;
  • spatial coordinates;
  • spatial domains;
  • topology design.

Generated synthetic outputs include:

data/synthetic/synthetic_cell_metadata.csv
data/synthetic/synthetic_expression_matrix.csv
data/synthetic/synthetic_gene_metadata.csv
data/synthetic/synthetic_hidden_truth.json

The synthetic hidden-truth file is central to the v1 benchmark. It allows tasks to be scored against known answers.

v1 task families

The v1 benchmark contains three task families.

1. Trajectory and pseudotime reasoning

Files:

benchmark_tasks/public/trajectory_pseudotime_tasks.json
benchmark_tasks/hidden/trajectory_pseudotime_answers.json
benchmark_tasks/oracle_outputs/trajectory_pseudotime_oracle_outputs.json

These tasks test reasoning about:

  • root-state inference;
  • terminal-state inference;
  • transition-state placement;
  • early-to-late pseudotime ordering;
  • masked terminal-state recovery.

2. Spatial pattern reasoning

Files:

benchmark_tasks/public/spatial_pattern_tasks.json
benchmark_tasks/hidden/spatial_pattern_answers.json
benchmark_tasks/oracle_outputs/spatial_pattern_oracle_outputs.json

These tasks test reasoning about:

  • spatially variable genes;
  • domain-specific marker enrichment;
  • masked spatial-domain recovery;
  • unsupported spatial claims.

3. Topological persistence reasoning

Files:

benchmark_tasks/public/topological_persistence_tasks.json
benchmark_tasks/hidden/topological_persistence_answers.json
benchmark_tasks/oracle_outputs/topological_persistence_oracle_outputs.json

These tasks test reasoning about:

  • bifurcating structure;
  • branch count;
  • ring-like spatial signals;
  • false-positive loop claims;
  • the difference between spatial topology and cell-fate topology.

The topology layer uses GUDHI-based summaries to support topology-aware benchmark tasks.

Public tasks, hidden answers, and oracle outputs

A key benchmark-design pattern in CellFateBench is the separation between public prompts and hidden answers.

benchmark_tasks/public/
benchmark_tasks/hidden/
benchmark_tasks/oracle_outputs/

Public tasks are solver-facing.

Hidden answers contain expected outputs and scoring-relevant evidence.

Oracle outputs show reference-style answers with rationale, confidence, and supporting evidence.

This structure helps prevent answer leakage and makes the benchmark easier to review.

A simplified benchmark structure looks like this:

public task
    |
    | visible to solver
    v
solver answer
    |
    | compared privately
    v
hidden answer key
    |
    | scored by validators
    v
score report

Oracle outputs provide a human-readable reference, but they are not used as public prompts.

v2: public RNA velocity extension

The v2 layer adds a public RNA velocity benchmark extension using the scVelo pancreas dataset.

The dataset preparation validates:

  • 3,696 cells;
  • 27,998 genes;
  • spliced RNA velocity layer;
  • unspliced RNA velocity layer;
  • cluster annotation column;
  • 8 annotation groups.

The project deliberately avoids committing the large raw H5AD file. Instead, it loads the public dataset through code and writes lightweight derived outputs.

Generated v2 dataset outputs include:

results/tables/velocity_dataset_summary.csv
results/tables/velocity_layer_summary.csv

The local public H5AD file is ignored through .gitignore, which protects the repository from accidental large-file commits.

That is important for a scientific software repo: data can be reproducible without being committed directly.

RNA velocity tasks

The v2 task generator creates RNA velocity reasoning tasks.

Files:

benchmark_tasks/public/velocity_reasoning_tasks.json
benchmark_tasks/hidden/velocity_reasoning_answers.json
benchmark_tasks/oracle_outputs/velocity_reasoning_oracle_outputs.json

The current v2 benchmark includes six velocity reasoning tasks:

Task focus Purpose
Root direction inference Reason about upstream or progenitor-like states
Terminal fate support Identify terminal endocrine fate evidence
Contradiction detection Reject reversed or unsupported differentiation claims
Latent-time-style ordering Reason about early-to-late ordering
Low-confidence failure mode Avoid overclaiming from incomplete evidence
Marker and velocity alignment Combine marker and velocity-style evidence

The v2 layer is careful not to claim more than it computes.

It validates spliced and unspliced layers and creates benchmark reasoning tasks around RNA velocity context. It does not yet claim to compute a full scVelo velocity graph inside the benchmark pipeline.

That limitation is documented in the README and limitations file.

Scoring design

CellFateBench uses transparent scoring.

The v1 scoring layer supports:

  • expected answer matching;
  • Boolean claim correctness;
  • required evidence-term coverage;
  • confidence field presence;
  • partial credit.

The v2 velocity scoring layer adds behaviour-focused scoring:

  • correctness;
  • evidence support;
  • uncertainty discipline;
  • no-overclaim discipline;
  • penalty for unsupported precision claims.

This is important because a scientific answer is not only judged by the final label. A solver can provide the correct answer with weak evidence. Another solver can make a plausible claim but overstate confidence.

The v2 scoring layer makes those behaviours visible.

Velocity solver evaluation is implemented in:

src/cellfatebench/velocity_solver_evaluation.py
scripts/13_evaluate_velocity_solvers.py

Generated outputs include:

results/tables/velocity_solver_performance_summary.csv
results/tables/velocity_task_performance_summary.csv
results/figures/velocity_solver_score_by_profile.png
results/figures/velocity_task_pass_rate.png

Calibration and difficulty rebalancing

CellFateBench includes calibration assets because a benchmark should not only generate questions. It should also review task difficulty and likely failure modes.

The v1 layer includes design-stage calibration:

src/cellfatebench/calibration.py
benchmark_tasks/calibration_logs/design_stage_calibration_log.json

The v2 layer adds empirical sample-solver calibration:

src/cellfatebench/velocity_calibration.py
scripts/14_generate_velocity_calibration.py
benchmark_tasks/calibration_logs/empirical_velocity_calibration_log.json
results/tables/velocity_task_difficulty_rebalanced.csv
results/figures/velocity_task_difficulty_rebalance.png

This calibration is intentionally scoped.

It is based on local sample solver profiles. It does not claim frontier-model calibration. That would require running the benchmark against actual frontier models or expert human solvers.

Makefile workflow

The project exposes core workflows through a Makefile.

make test
make pipeline
make pipeline-v2

Other useful commands include:

make dataset
make trajectory
make spatial
make topology-summary
make topology-tasks
make calibration
make score
make velocity-data
make velocity-tasks
make velocity-evaluate
make velocity-calibration

This gives reviewers and future contributors stable commands rather than asking them to run internal Python modules manually.

Running the project locally

Clone the repository:

git clone https://github.com/gbadedata/cellfatebench-single-cell-analysis.git
cd cellfatebench-single-cell-analysis

Create the environment:

conda env create -f environment.yml
conda activate cellfatebench

Run the tests:

make test

Run the v1 pipeline:

make pipeline

Run the v2 pipeline:

make pipeline-v2

Expected result:

57 passed
CellFateBench full pipeline completed.
CellFateBench v2 public RNA velocity pipeline completed.

The public scVelo pancreas dataset may emit AnnData old-format warnings during tests. These warnings come from the upstream dataset format and do not indicate failure of CellFateBench logic.

Docker validation

The repository includes Docker support.

Build the image:

docker build -t cellfatebench:latest .

Run the test suite inside Docker:

docker run --rm cellfatebench:latest make test

Run the v1 pipeline inside Docker:

docker run --rm cellfatebench:latest make pipeline

Run the v2 pipeline inside Docker:

docker run --rm cellfatebench:latest make pipeline-v2

This validates that the benchmark can run in a clean container environment.

GitHub Actions CI

The project is validated through GitHub Actions.

CI checks:

  • test suite;
  • v1 pipeline;
  • v2 pipeline;
  • expected output files;
  • Docker build;
  • Docker test execution;
  • Docker v1 pipeline;
  • Docker v2 pipeline.

Workflow evidence is available here:

GitHub Actions CI

The CI badge is visible at the top of the README.

Documentation structure

The documentation layer includes:

README.md
docs/methods.md
docs/evidence_map.md
docs/reviewer_guide.md
docs/limitations.md
docs/project_design.md
docs/v2_velocity_extension_plan.md

Each document has a specific role.

Document Purpose
README Main technical landing page
methods.md Scientific and benchmark methodology
evidence_map.md Maps claims to files and outputs
reviewer_guide.md Helps reviewers inspect the project efficiently
limitations.md Documents boundaries and non-claims
project_design.md Captures design rationale
v2_velocity_extension_plan.md Captures v2 extension planning

This documentation structure is part of the engineering work. It makes the repository easier to evaluate.

What was validated

At the time of this write-up, the project had:

  • 57 passing tests;
  • v1 pipeline passing;
  • v2 pipeline passing;
  • Docker validation in CI;
  • GitHub Actions passing on main;
  • README upgraded with badges;
  • methods, evidence map, reviewer guide, and limitations updated for v2;
  • large public H5AD file ignored and protected from accidental commit.

This is the difference between a script and a reviewable scientific software project.

Key engineering decisions

Several engineering decisions helped make the project more robust.

1. Public and hidden assets are separated

Public benchmark tasks do not contain hidden answer fields.

2. Large public datasets are not committed

The public H5AD file is loaded through code and ignored locally.

3. Pipelines are exposed through Makefile targets

This makes execution easier for reviewers.

4. CI validates more than tests

The workflow validates tests, pipelines, expected outputs, and Docker execution.

5. Limitations are documented

The project does not overclaim clinical validity, biological discovery, frontier-model calibration, or full RNA velocity graph computation.

6. The benchmark is designed for extension

The current structure can support future task families such as full velocity graphs, latent time, spatial neighbourhood reasoning, multi-omic tasks, and expert calibration.

Future improvements

Planned improvements include:

  • full scVelo velocity graph computation;
  • latent-time summaries;
  • gene-level velocity confidence summaries;
  • real solver submissions;
  • frontier-model calibration;
  • human expert calibration;
  • semantic answer matching;
  • richer task-specific rubrics;
  • expanded public datasets;
  • spatial-neighbourhood reasoning;
  • multi-omic benchmark tasks;
  • release versioning;
  • optional dashboard or web review interface.

Final thoughts

CellFateBench was built to show that single-cell genomics benchmarking can go beyond outputs.

The project asks whether a solver can reason from evidence, separate supported claims from unsupported ones, report uncertainty, and avoid overclaiming.

That is why the project is positioned as:

A benchmark-engineering project for the reasoning layer of single-cell genomics.

Explore the repository:

GitHub repository

Read the README:

Project README

Review CI validation:

GitHub Actions CI

Read the flagship Medium article:

Medium article