Haldwani Times
Haldwani Times
Technology

margin-referee 0.1.11

margin-referee 0.1.11
Photo / Illustration: Haldwani Times Editorial Desk

Skip to main content Switch to mobile version margin-referee 0.1.11 Can you ship this AI change? A verdict on a model, prompt, tool or host change from your own eval cases, with a receipt anyone can verify.

pip install margin-referee==0.1.11 Copy PIP instructions

The verdict on an AI change, from your own eval cases: ship, don't ship, or not enough evidence. A free CLI your agent or CI can call; Margin is the hosted version with receipts, agent keys and spend caps.

A new model, prompt or tool can pass your evals and still break a customer, and two scores side by side cannot tell a real change from noise. Eval platforms now label their own compares better or worse; this is a second opinion from a tool that sells no model and no eval platform, with its method stated (https://trymargin.io/methods).

margin-referee sits on top of the eval tool you already use. It reads the cases you have (a promptfoo results file, a Braintrust, LangSmith or Langfuse dataset export, or JSONL) and tests a change on them: a new model, a new system prompt, a changed tool list, or the same model on another endpoint. It runs what you use today and the candidate, grades both with each case's own check, and answers ship, don't ship, or not enough evidence when there are too few cases to tell. check gives the same verdict on two experiments you already scored (Braintrust, LangSmith, Inspect or MLflow), and runs nothing. noise shows how often your own "it scored 3 points higher" rule fires between two runs of the same system. What the change does to cost is one line of the answer. No account, no backend, no telemetry.

Published on PyPI (https://pypi.org/project/margin-referee/) and GitHub (https://github.com/trymargin/margin-referee).

pip install margin-referee margin-referee fit cases.jsonl OPENROUTER_API_KEY=... margin-referee replay cases.jsonl \ --baseline openai/gpt-4.1 --candidate openai/gpt-6-luna --cap 1 Why another eval tool

Because "the candidate scored higher on our evals" is how most bad switches start. Three things make it unreliable, and this tool corrects for each:

Small sets lie. The verdict is a paired test on the cases both models ran. Only the cases they disagree on carry evidence, and a clean sweep on 20 cases proves nothing. fit tells you, for free and before anything runs, how many cases you need: about 100 against a current model that passes everything, and more as its pass rate falls.

The best of several looks better than it is. Try four models on the same cases and keep the winner, and you have mostly found noise. The 0.97 bar stays put, but the confidence it must be shown at rises with every candidate you try on overlapping cases (remembered in ~/.margin-referee/ledger.json), so renaming or trimming the cases does not reset it. To confirm a winner, replay it alone on cases none of them saw.

Half-graded cases flatter the candidate. A case with a check this tool cannot run (an LLM rubric, say) is left out and counted, never half-graded. An answer cut off by the output limit, or a call that errored, is unanswered, not a fail, and any unanswered case blocks a promotion. It does not hide a loss: if the change is still worse than the bar allows with every unanswered case counted as a win for the candidate, the answer is do_not_ship, not not_enough_evidence.

What replay also does

It stops paying once the answer is clear. From 40 cases on, the replay stops as soon as the answer is already do_not_ship: even the reading most favourable to the candidate misses the bar. Each look is held to a stricter test (Bonferroni across the planned looks), so looking often cannot manufacture a loss. It never stops early for ship; stopped_early says when it stopped, and --no-early-stop runs every case. (Borrowed from VERDICT, verdict-gate.)

Reliability, with --repeats 3 (1 to 5). Each case runs that many times per side and passes only if every run passed (pass^k); the paired test reads that strict result. reliability gives pass@1 and pass^k per side, the cases that flipped between runs, and an estimate of the repeats needed to see a 1-point gap. Spend scales with the repeats.

Traffic weights. Give a case a weight (or metadata.weight: its share of traffic, or a count) and weighted reports the same cases weighted by traffic, including the share of traffic on the cases that got worse. It is a weighting of the same cases, not a new test: the decision stays on the unweighted paired test.

The verdict explains itself. On not_enough_evidence, settle repeats the plan's case counts (how many cases would show it holds or is worse at the observed rates) and, with repeats, says whether the gap is smaller than the share of cases that flipped between runs. capped_failures lists the candidate's cases cut off by the output limit; those cases are left unanswered, never graded as fails, and why says to re-run with a higher --max-tokens. Neither field changes the decision.

Runs that cannot reach a verdict are refused before they spend

A paid replay that ends not_enough_evidence for a reason you could have known first is wasted money. replay checks for those reasons in order and stops at the first one it finds. The decision is then refused_before_spend, the reason is the first line printed, and the exit code is 3.

Size, free. If you have fewer gradable cases than the gate needs (cases_needed, 100 for one candidate), no result could be ship, so nothing runs. --anyway runs it as a check that can only find a loss, and the output says so.

Smoke, a few cents. The first two cases run on both models. If a call errors (a model id that does not exist, a 4xx or 5xx, a schema the endpoint rejects, an answer the check cannot read), the run stops with the exact error and what it spent. An answer cut off by the output limit is retried once at double the limit, up to 32768 tokens. If it is still cut off, the run stops and names the limit. Set the limit with --max-tokens.

The two smoke cases are the first two cases of the full run, so a run that goes ahead pays for nothing twice.

Three more guards work during the run:

A 402 (out of credit) stops the run at once. Every later call would fail the same way.

A case lost to a 429, a 5xx, a timeout or a dropped connection is tried once more when the run ends. So is an answer cut off by the output limit, at double the limit. A 400, 401, 403, 404 or 422 is not retried: the same call would fail again.

If so many cases have no answer that the rest cannot reach cases_needed, the run stops and says so. No later case could have made the verdict ship.

Every verdict carries a preflight block: size, smoke, budget, estimate_usd, balance_usd and the max_tokens the run ended up using.

Exit codes for replay: 0 promote, 1 do not promote, 2 no case can be graded, 3 refused before spend.

Testing a tool change

A tool description is a prompt the model reads on every call. Rewrite one, or add or remove a tool, and the agent may start calling the wrong tool. To test that before it ships, give each JSONL case the tools the call offers and say which tool it should call:

{"id": "refund-policy", "input": "How long do I have to return shoes?", "tools": [{"type": "function", "function": {"name": "search_kb", "description": "Search.", "parameters": {"type": "object", "properties": {"query": {"type": "string"}}}}}], "check": "tool-call", "expected": "search_kb"} tools is an OpenAI-style function tool list, and tool_choice is optional. Both are sent with every call, as they are.

check: "tool-call" passes when the model's first tool call is the expected tool. To check arguments too, write pairs separated by ;, such as name=lookup_order;args.order_id=A1042. Values compare as text, ignoring case.

No tool call is a fail. A call whose arguments cannot be read, or an endpoint that does not report tool calls, leaves the case unanswered. It is never counted as a pass.

Then put the new tool list in a file and replay with --candidate-tools. The candidate gets that list in place of each case's tools; the baseline keeps the case's own. The model can stay the same:

cd examples/tool_change OPENROUTER_API_KEY=... margin-referee replay cases.jsonl \ --baseline openai/gpt-4.1 --candidate openai/gpt-4.1 \ --candidate-tools candidate_tools.json --cap 1 --anyway examples/tool_change has three cases and a candidate_tools.json that rewrites two vague descriptions. Three cases show the format and prove nothing: without --anyway the replay is refused before it spends, with it the verdict is not_enough_evidence, and fit says how many cases you need. Each tool list you try counts as a candidate, the same as a prompt. Tool cases run on OpenRouter and on OpenAI-compatible, Azure OpenAI and Vertex AI endpoints; a Bedrock endpoint leaves them unanswered for now. A promptfoo results file carries no tool list, so write tool cases as JSONL.

For MCP and tool vendors

You publish a tool list. Other teams' agents read it on every call, so a rewritten description or a renamed tool changes how those agents behave, and you do not hold their eval cases. You do hold your own logs: what was asked, and which tool was called. That is enough to gate a change.

1. Draft cases from your log. Give draft-tool-cases the tool list callers get today and a JSONL file with one real request per line:

{"request": "Where is my order A1042?", "tool": "lookup_order", "args": {"order_id": "A1042"}} {"request": "Do you ship to Canada?"} cd examples/tool_vendor margin-referee draft-tool-cases requests.jsonl --tools tools_list.json It calls no model and costs nothing. It writes two files:

draft_cases.jsonl: one tool-call case for each request whose log line names the tool that was called. The case expects that tool, plus the arguments the log recorded.

needs_review.jsonl: the requests with no recorded tool, or with a tool that is not in the list. These rows have no check. The drafter never picks a tool for them, and a replay grades none of them.

The request can be under request, input, messages, prompt, query or question. The call can be tool with args, or tool_call / tool_calls in the OpenAI shape. A line that is not JSON is read as the request text. segment and group are kept: set group to the user or conversation when one sent many requests, because the gate counts those as one.

Every row carries draft: true and source_line, the line of your log it came from. Read each case against that line before you rely on it. A logged call is what the agent did, which is not always what it should have done. Delete an argument from expected when it is free text (a search query, say), since no two runs word it the same way. replay warns while any case is still marked as a draft.

The output says how many drafts are gradable and how many the gate needs (100 for one candidate, more for each extra one; pass --candidates). It exits 0 when you have enough and 2 when you do not. The files are written either way.

2. Use your MCP tools/list response as the tool list. --tools and --candidate-tools both take OpenAI function tools or an MCP tools/list response: the JSON-RPC reply, its result, or the bare tools array. Each {name, description, inputSchema} becomes a function tool with inputSchema as its parameters. A tool with no name, an inputSchema that is not a JSON Schema object, more than 64 tools, or one page of a paged list (nextCursor) is refused with the reason. Nothing is repaired or trimmed.

3. Get one verdict per caller model. Your callers run different models, and a description that reads well to one can mislead another. --models runs the same change on each:

OPENROUTER_API_KEY=... margin-referee replay draft_cases.jsonl \ --models openai/gpt-4.1,anthropic/claude-haiku-4.5,google/gemini-2.5-flash \ --candidate-tools tools_list_new.json --cap 3 Each model is its own baseline: the model with the tools in the cases, against the same model with the new list. The output is one JSON object with a verdict for each model and a summary line, such as 2 of 3 caller models: ship; not: google/gemini-2.5-flash.

--cap is the limit for the whole command. It is split evenly between the models.

Every verdict is held to all the models in the run. Three models are three tries at the same change, so each verdict carries candidates_tried: 3 and needs more cases than one model alone would. Earlier tool lists tried against a model on these cases are added on top.

Exit codes: 0 when every model's decision is ship, 1 when any model's is not, 3 when a model was refused before spend and none said no, 2 when no case can be graded. With --models the exit code follows decision. A tool change on the same model costs the same, so the single-model exit code, which also asks for a lower cost, would never be 0.

--receipt out.json writes one unsigned receipt per model, named out..json.

--models needs --candidate-tools or --candidate-system, and it runs on OpenRouter. For a model in your own account, run replay once with --baseline-endpoint and --candidate-endpoint.

A second opinion on a comparison you already ran

Ran the baseline and a cheaper model as two Braintrust experiments (by hand, or with Loop)? check reads both, pairs the cases, and gives the same verdict, without calling a model:

margin-referee check baseline.jsonl candidate.jsonl --scorer correct BRAINTRUST_API_KEY=... margin-referee check bt: bt: --scorer correct A pass is the named score at or above --threshold (default 1.0, full credit only). Pass --candidates N when several models were tried on the same cases. A case one experiment lacks blocks the promotion. With no metrics.estimated_cost in the exports, it says whether quality held but claims no saving. Exit code 0 means promote.

The same command covers a change the referee cannot make itself: a new version of your agent framework, harness or SDK. Run your suite once on each version, write one JSON line per case with the same input on both sides and the score under scores, and compare the two files:

{"input": {"task": "refund-17"}, "scores": {"correct": 1}, "metrics": {"estimated_cost": 0.004}} margin-referee check before_upgrade.jsonl after_upgrade.jsonl --scorer correct Testing the eval itself: a new judge, rubric or parser

The judge is part of the instrument. A new judge model, a cheaper judge, or a reworded rubric moves scores even when the system under test did not change, and scores across the swap then compare two graders, not two setups. Grade the same saved outputs with the old grader and the new one, and judge puts the two gradings through the same paired test as check, in both directions:

margin-referee judge old_judge.jsonl new_judge.jsonl --scorer pass margin-referee judge results.jsonl --old-scorer judge_v1 --new-scorer judge_v2 # one file, both scores It answers that the judge change alone moves scores (stricter or more lenient), no proven effect, or not enough evidence (too few cases, or a case only one grader scored). Exit code 0 means scores are comparable across the two graders, 1 that the grader moved them, 2 that it cannot tell. Run the old judge twice on the same outputs to measure how often it disagrees with itself.

A planted regression is the other half: score a deliberately worse system and run check baseline.jsonl degraded.jsonl --scorer pass. If it does not say got worse, the suite cannot see a drop that size, and fit says how many cases it would need.

Judging a LangSmith Engine fix or a SmithTune model

LangSmith Engine proposes a fix as a pull request and "can test that fix against an eval set before your team ever sees it". SmithTune fine-tunes a model, then "compares it against the base model in LangSmith" (The Agent Lake, LangChain, November 2026). In both, the tool that proposed the change also graded it. check reads the two experiments LangSmith already holds, the baseline and the candidate, and gives the same verdict it gives everywhere else. It calls no model.

LANGSMITH_API_KEY=... margin-referee check ls: ls: --key correctness margin-referee check baseline.json candidate.json --source langsmith --key correctness ls: takes an experiment id or its name. Use a read-only key. Set LANGSMITH_ENDPOINT for the EU region or a self-hosted install (the default is https://api.smith.langchain.com). --key is the feedback key that decides pass or fail, and --threshold is the score a pass needs (default 1.0, so a 0/1 score passes at 1).

How an experiment is read:

Cases are paired by reference_example_id, the dataset example a run answered. A root run with no example is left out and counted under counts.unlinked.

A run passes only on a numeric or boolean score for the key, at or above the threshold.

A run with no feedback for the key, feedback with only a category label, a run that errored and a run that did not finish are unanswered. Each is listed with its reason. Unanswered is not a fail, and it blocks a promotion.

With repetitions, a case passes only if every repeat passed. One failed repeat fails the case.

Cost is the runs' recorded total_cost. A run with none, or with zero, has no recorded cost. A fine-tune LangSmith has no price for is not free, so the verdict then says whether quality held and claims no saving (cost: not_recorded).

Segments come from a run's metadata.segment or metadata.category, else from the example's dataset split when it has exactly one.

An exported file is one JSON object, {"runs": [...], "feedback": [...], "examples": [...]}, or JSONL with one run or feedback row per line. Only the root runs and their feedback rows are needed. examples is optional and only supplies the splits. From the LangSmith Python SDK:

runs = [r.dict() for r in client.list_runs(project_name="my-experiment", is_root=True)] feedback = [f.dict() for f in client.list_feedback(run_ids=[r["id"] for r in runs])] json.dump({"runs": runs, "feedback": feedback}, open("candidate.json", "w"), default=str) Not yet confirmed against a live LangSmith account (the reader was built from LangSmith's published OpenAPI document and tested against responses shaped like it):

that POST /api/v2/runs/query with include_subtree_usage puts the whole trace's cost on the root run. If it does not, cost reads as not recorded and no saving is claimed.

what total_cost holds for a model LangSmith has no price for (the reader treats zero and null the same way: not recorded).

that every evaluator's feedback row carries the root run's id in run_id. Feedback written to a child run would leave the case unanswered.

self-hosted installs older than v0.16, which do not serve the v2 endpoints. Export to a file there.

Judging two Inspect eval logs

Ran an Inspect task (UK AISI's inspect_ai) on the model you use and on the one you want to try? check reads the two logs and gives the same verdict. It calls no model.

margin-referee check logs/baseline.eval logs/candidate.eval --source inspect --scorer match margin-referee check baseline.json candidate.json --source inspect --scorer model_graded_qa --scorer is the scorer's name as it appears in each sample's scores. How a log is read (field names from inspect_ai 0.3.292's own source):

A .json log is one EvalLog; a .eval log is the zip Inspect writes (header.json plus one samples/_epoch_.json per sample and epoch). Inspect compresses .eval with zstd. Python reads that from 3.14; on older Pythons it is read through zipfile_zstd when installed (inspect_ai installs it). Otherwise the error says to run inspect log convert --to json.

Samples are paired by id. A sample one log has and the other lacks is unanswered.

A score value is read the way Inspect reads it: C is 1, P is 0.5, I and N (no answer) are 0, yes/true 1, no/false 0. A pass is a value at or above --threshold (default 1, so partial credit is not a pass).

With several epochs, a case passes only if every epoch passed. Inspect itself reports the mean over epochs; the referee is stricter.

A sample with no score for the scorer, a list or dict value, or an error is unanswered, with its reason. Unanswered is never a pass or a fail, and it blocks a promotion.

Cost is each sample's model_usage total_cost. A model with none leaves no recorded cost, and then the verdict says whether quality held and claims no saving.

A log whose status is not success is incomplete evidence, and the verdict says so.

Judging two MLflow evaluation runs

Evaluated two versions with MLflow? check reads each run's per-row results from a file and gives the same verdict:

margin-referee check baseline.json candidate.json --source mlflow --scorer correctness The file is either of these (field names from mlflow 3.18.0's own source):

mlflow.evaluate: the eval_results_table.json artifact it logs, with a /score column per metric. Pass the metric name as --scorer.

Rows are paired as mlflow.genai.compare_evaluations pairs them: by the trace's eval request id (the mlflow.eval.requestId tag), else by the row's inputs (or request). A row with neither is counted under counts.unkeyed. yes/true is 1 and no/false is 0. A row with no score, a score that is not a number or yes/no, a scorer error or a trace in state ERROR is unanswered, never a pass or a fail. Two rows with the same key in one run are repeats: the case passes only if both passed. MLflow records tokens but not prices, so check says whether quality held and claims no saving (cost: not_recorded).

The verdict on a Hurdle suite

Ran a Hurdle suite with and without a skill, or on two models? hurdle reads the runs it saved and says whether the difference is real:

margin-referee hurdle .hurdle --compare condition --baseline baseline --candidate with-skill margin-referee hurdle .hurdle --compare model --baseline --candidate A task passes only if every repeat passed, and repeats_passed shows each side's count. A run Hurdle marked incomplete or unknown leaves its task unanswered, which blocks a promotion.

Judging an ontology layer: NVIDIA ontology-sql-eval

Ran ontology-sql-eval to compare a schema-only prompt with the ontology-grounded agent? ontology-sql reads the two arms' result files and says whether to ship the layer. It calls no model and needs nothing of NVIDIA's installed:

margin-referee ontology-sql runs margin-referee ontology-sql runs/full_20261126 --price-in 5 --price-out 25 --price-cached 0.5 --json It reads /control/.jsonl and /treatment/.jsonl, pairs the questions by task_id, and applies the referee's rules, which are stricter than the harness's own report:

A pass is the verifier's positive verdict. A wrong result, a query that errored or timed out, or no SQL in the answer is a fail.

A gold query that did not run, a run with no model output, an unknown error, or a question one arm has no row for is unanswered. It is listed with its reason, counts as neither a pass nor a fail, and blocks a promotion. The harness scores some of these as misses, so its accuracy and this one can differ on the same run.

Tokens per question come from the per-call capture block on each row when the run recorded one, otherwise from the ontology arm's own totals. Cost is those tokens times the --price-in and --price-out you give (USD per million tokens). The files carry no price, so without both flags cost reads not_recorded and nothing is guessed.

Cached input is read per call (cached_tokens in the capture block, otherwise the ontology arm's agent_cached_input_tokens) and is part of the input count. Give --price-cached (USD per million cached input tokens) to price it at its own rate. Without that flag cached input is priced as fresh, and the cost basis says so. The cached rate is used only when both arms recorded the split; if either did not, the output says cache split not recorded and all input is priced as fresh. No split is guessed.

The cache-hit share (cached input over all input) is printed for each arm, and the JSON has cache: {baseline: {fresh_in, cached_in, share}, candidate: {...}, line}, totals over the paired questions. When the two arms differ by ten points or more you get a line such as the candidate's cache-hit share fell from 80% to 12%, so a change that breaks prompt caching shows up. The share changes cost only. It never changes a pass, a fail or the quality verdict.

The ontology arm makes many more calls per question. If the pass rate only holds, the answer is not_enough_evidence: a layer that is not cheaper ships on a proven gain. If the gain is proven it reads ship_if_worth_the_cost, with the questions won and lost and the 95% bound on the gain, and the decision to pay is yours.

--baseline-arm and --candidate-arm name the two folders, or two rollout files, if yours are called something else. Swap them to ask the opposite question: can the layer be dropped?

The file layout and field names were read from the harness source at commit 871bb924 (2026-11-26) and the tests use rows made in that shape. The cached-input field names were read from one real run's files (WideWorldImporters, 41 questions, 2026-11-27). Prices you pass are yours: a list price is not what a gateway billed.

A receipt for the verdict

replay, check, hurdle and ontology-sql take --receipt out.json. It writes the verdict as an in-toto Statement in a DSSE envelope: the decision, the bar, the paired counts and gap, how many candidates were tried, cost per case, each segment, and a list of what the record does not show. A receipt you write this way is unsigned and says assuranceLevel: self-run. It is your own claim in a format someone else can read.

A receipt Margin's hosted service issues is signed with Ed25519. Check one with:

pip install 'margin-referee[verify]' margin-referee verify receipt.json --key-url https://trymargin.io/.well-known/margin-receipt-key So the check does not rest only on the issuer's own website, the key's id is printed here too, in a file published on PyPI and GitHub. Margin's receipt key (2026-11) has keyid a89b466ecdb7dbe0eb307b5aaeca8d41e83beef20d3eae19aa77605cf66d5aeb, the SHA-256 of the raw public key; verify prints the keyid it checked against.

Exit 0 means the holder of that key signed it and nobody edited it since. It is a signed record, not a certification: it does not show the grader is right, that the cases cover production, or what a person decided to ship.

OpenRouter, with your own key: any model it serves. To test the same model on another host, pass an endpoint with a provider: {"kind": "openrouter", "model": "z-ai/glm-5.3", "api_key": "...", "provider": "wafer/fp4"} sends every call to that one host, with no fallback to another seller. Your account's data policy decides which hosts you can reach; a host it excludes is refused before anything is spent, and the reason says so.

A model in your own account, with --candidate-endpoint or --baseline-endpoint and a JSON object: bedrock (region, model, a Bedrock API key), vertex_ai (project, region, model, access token), azure_openai (resource, deployment, key) or openai_compatible (base URL, model, key: a fine-tune, vLLM, a self-hosted model). Your credential is used for that run only, and you give your own per-token price, so a negotiated discount counts.

A prompt change: --candidate-system replays the candidate with a new system prompt. Each prompt you try counts as a candidate.

A tool change: --candidate-tools replays the candidate with a new tool list (see "Testing a tool change").

It does not open the pull request, watch the change after you merge it, keep the history across your team, or let your agents call it with a spend limit. That is Margin, which runs this same test.

Calling it from a coding agent

An agent can run every command above through its shell; AGENTS.md in this repository is written for it: run fit first, branch on the exit code, report the decision word as given, and never raise --cap on its own. For an agent that should call a hosted verdict over MCP instead, with signed receipts and a spend limit a person sets, add Margin's server:

claude mcp add --transport http margin https://trymargin.io/api/mcp \ --header 'Authorization: Bearer ${MARGIN_INGEST_KEY}' Release rules, set before the comparison

A pass rate can hide a regression that a release owner would never ship. A cheaper model that answers empty on two cases, or returns JSON missing a field, can still clear the bar on score. Rules catch those cases. You write them down before you read any result:

{"rules": [ {"type": "empty_output"}, {"type": "json_schema", "name": "answer_shape", "schema": {"type": "object", "required": ["answer"]}}, {"type": "refusal", "phrases": ["I can't help with that", "I'm unable to"]}, {"type": "malformed_tool_call"}, {"type": "must_pass", "cases": ["refund-policy-1", "refund-policy-2"]} ]} margin-referee replay cases.jsonl --baseline A --candidate B --cap 1 --rules rules.json margin-referee check base.json cand.json --scorer correct --rules rules.json The veto. The candidate breaks a rule on a case where the baseline did not break it. The decision is then do_not_ship, whatever the score, and why names the rule and the case ids. If both sides break a rule on the same case, it is reported and vetoes nothing, because the change did not cause it.

The types. empty_output: no text and no tool call. json_schema: the answer is not JSON, or does not match the schema. Only type, properties, required, items, enum, const, additionalProperties, the min/max length, item and value bounds, and the annotations are supported. refusal: the answer contains one of your phrases, matched case and spacing insensitive. The referee has no refusal detector of its own and does not guess. malformed_tool_call: a call with no function name, arguments that are not a JSON object, or a tool the call was not offered. must_pass: the named case must pass on the candidate. It reads only the pass or fail, so it works on a scores-only export. A name matches the case id, or a metadata.group when each repeat of a case is its own row; the case then fails on a side if any repeat failed there.

Refused, never ignored. An unknown rule type, an unknown field and an unsupported schema keyword are all errors, raised before any case runs or any experiment is read.

Fixed in advance. The verdict carries rules.sha256, the SHA-256 of the rules as canonical JSON (sorted keys, no spaces), and so does the receipt (releaseRules). A rule added after the results were seen shows up as a different hash.

Unchecked is not passed. A rule that needs outputs cannot be checked on a paired case that has none, for example a LangSmith read that never selects outputs. Those cases are counted in rules.unchecked, and a ship becomes not_enough_evidence. A must-pass case with no answer on both sides does the same.

No rules, no change. Without --rules, the verdict is the same as before.

The verdict's rules block holds, per rule, how many cases each side broke it on, how many both broke, and the first ten cases where only the candidate did.

The evidence plan in every verdict

Every verdict carries a plan, including not_enough_evidence and refused_before_spend. It says how many cases would settle the gap this run saw, at the bar. The estimate rests on stated assumptions, and the plan spells them out:

the observed pass rates, the share of cases where the two sides disagree, and the losses and wins;

the bar (the candidate keeps 97% of the baseline's pass rate), 95% one-sided;

the candidates tried and the Bonferroni correction for them (the z and the floor it moves);

that cases are independent (with declared groups it says more may be needed), and that the observed rates stay the same as the suite grows.

cases_to_hold is the smallest suite at these rates on which the change would be shown to hold. cases_to_show_worse is the same for a proven loss. Both come from stats.reach, the same search every other "how many cases" answer uses. With repeats, repeats gives the runs per case that would keep run-to-run noise under a one-point gap at the measured flip rates. When the gap sits so close to what the bar allows that no suite up to 2,000 cases settles it, the plan says so.

It is an estimate, not a promise. New cases may not behave like these, and the plan only reports what the observed rates imply.

What blocks a verdict on this suite: the fit check-up

fit is free and offline, and it answers one question: what, if anything, blocks a verdict on this suite? It prints a checklist. Every line has a count, its n, and one of three kinds: blocker (a verdict cannot stand until it is fixed), observation (measured, does not block) or not_measured (the input lacks the data, and the line says what to supply). Nothing it cannot measure is shown as a zero. There is no grade and no score.

margin-referee fit cases.jsonl # the cases alone margin-referee fit cases.jsonl --results runs.jsonl # plus the scored runs margin-referee fit cases.jsonl --clause clause.txt # plus the buyer's clause The lead line is "nothing blocks a verdict at this size" or "N things block a verdict". Exit 0 when nothing blocks, 2 when something does. The old fields (graded, needed, ready, losses_absorbed, ...) are still there.

The clause gap is a keyword match on labels only. It never reads a case's input, and a label that mentions a concern is not evidence that the cases cover it, so the line says the team should confirm.

A case that never failed is reported, whatever its run count, as a plain chance: "passed 11 of 11; a 10% failure rate would go unseen about 31% of the time", that is (1 - 0.1) ** 11. Under 29 runs, where that chance is still over 5%, it adds "too few runs to say". It never calls a case fine or broken: a case no model has failed yet may be easy, or may be unable to fail.

Results can be a promptfoo results file, Braintrust or LangSmith events (scores, with --scorer when a row has several), or JSONL with pass, passed, success or score and error. Optional fields: model (or metadata.model), run or trial (or --run-suffix '#' when the ids are t0#0, t0#1), judge_pass, human_pass. fit counts only exact copies, because similar prompts are often deliberate boundary tests; audit names near-copies for a person to judge. Nothing here measures contamination or whether the suite predicts production.

The hosted product's MCP tool margin_fit_check returns the same checklist, from the same code.

Do the cases cover the risk? The audit report

A signature shows a result was not edited. A reviewer's next question is whether the cases cover the risk. audit is free and offline and reviews the case set itself, not a model comparison.

margin-referee audit cases.jsonl margin-referee audit cases.jsonl --results a.jsonl --results b.jsonl --clause clause.txt JSON on stdout, one plain line on stderr. Exit 0 when nothing is found, 1 when issues are found, 2 when a file could not be read. It lists:

cases that never failed (or never passed). Only when the runs can say so: the run floor fit uses, or two or more models each run on the case. One run of one model is listed, not flagged.

inputs that repeat exactly, and near-copies (input word sets overlapping 85% or more, for inputs of five words or more; skipped above 1,000 cases).

segments with fewer than 10 cases, and a suite under the gate floor.

whether the suite tells the models apart: it needs results from two or more models, and it is flagged when no case was failed by any of them.

with --clause, the words of the clause (five letters or more, common words dropped) that no case input, id, segment, group or tag uses. This is a keyword match on the first six letters of each word. It cannot see meaning: a word a case mentions is not proof the case tests it.

It does not read a verdict, change one, or call a case fine or broken.

Does your rule catch noise? The noise report

Run the same system twice on the same cases and the pass rate moves anyway: a model samples, an endpoint changes under you, a flaky check flips. A team that reads "3 points better" as a real change will act on noise. One published A/A test, ten identical runs on 150 problems, found a 3-point rule fired on 10 of 45 comparisons of identical systems (Verne Systems, October 2026). noise measures that on your own runs, for free:

margin-referee noise run1.jsonl run2.jsonl run3.jsonl margin-referee noise repeats.jsonl --points 2 # rows carry a run (or trial) field margin-referee noise log.eval --source inspect --scorer match # Inspect epochs are runs Every pair of runs is one comparison of identical systems. For each, it reports:

the naive rule: the two pass rates on the cases both runs scored, and whether they differ by --points or more (default 3, either way);

how often the naive rule would have BLOCKED the change: it fired and the second run scored lower;

the referee's paired verdict on the same pair, the earlier run as baseline. Its ship means "not worse at the bar" and never claims better, so on identical systems ship and not_enough_evidence are both right. Its one false alarm is do_not_ship, a claim that the second run is worse, and that is what is counted. A pair whose bound happens to clear zero is shown as it is ("the referee says ship (not worse); it does not claim better"), with the bound.

Runs can be separate files, one file whose rows carry run, trial or repeat (or --run-suffix '#' for ids like t0#1), Inspect epochs (--source inspect) or MLflow results tables (--source mlflow, one file per run). A case errored in one run is left out of that pair's rates and is unanswered for the referee. --json prints every pair.

It never invents a repeat. One run exits 2 and says a second run is needed. --split-seed N is the one exception: it cuts one run's cases into random halves (seeded, --splits times) and compares their pass rates. The output is labelled SPLIT, NOT REPEAT RUNS: halves share no case, so this measures only which cases were drawn, and the referee has nothing to pair.

Worked examples on public suites: every set of repeat runs in Margin's public bench record (captured 2026-11-01), committed under examples/noise/. Three runs of openai/gpt-4o-mini, three of openai/gpt-4.1-nano and two of deepseek/deepseek-v4-flash on the 164 HumanEval+ problems; two of openai/gpt-4o and three of openai/gpt-4o-mini on the 34 Python exercises of Aider's polyglot benchmark. The output, pasted from the command:

$ cd examples/noise $ margin-referee noise humanevalplus_gpt-4o-mini_3_runs.jsonl 3 runs of the same system, 3 comparisons. A 3-point rule fired on 1 of 3 (33%); 0 of those would have blocked the change. The referee said got worse (do_not_ship), the only false alarm it can raise here, on 0 of 3 (0%). Its answers: too close to call 2, holds up 1 (holds up means not worse at the bar; it never claims better). humanevalplus_gpt-4o-mini_3_runs.jsonl#0 vs humanevalplus_gpt-4o-mini_3_runs.jsonl#1: 164 cases, +3.66 points, naive rule FIRES, referee ship humanevalplus_gpt-4o-mini_3_runs.jsonl#0 vs humanevalplus_gpt-4o-mini_3_runs.jsonl#2: 164 cases, +1.22 points, naive rule quiet, referee not_enough_evidence humanevalplus_gpt-4o-mini_3_runs.jsonl#1 vs humanevalplus_gpt-4o-mini_3_runs.jsonl#2: 164 cases, -2.44 points, naive rule quiet, referee not_enough_evidence $ margin-referee noise humanevalplus_gpt-4.1-nano_3_runs.jsonl 3 runs of the same system, 3 comparisons. A 3-point rule fired on 0 of 3 (0%); 0 of those would have blocked the change. The referee said got worse (do_not_ship), the only false alarm it can raise here, on 0 of 3 (0%). Its answers: too close to call 3 (holds up means not worse at the bar; it never claims better). humanevalplus_gpt-4.1-nano_3_runs.jsonl#0 vs humanevalplus_gpt-4.1-nano_3_runs.jsonl#1: 163 cases, +0.61 points, naive rule quiet, referee not_enough_evidence humanevalplus_gpt-4.1-nano_3_runs.jsonl#0 vs humanevalplus_gpt-4.1-nano_3_runs.jsonl#2: 163 cases, -1.84 points, naive rule quiet, referee not_enough_evidence humanevalplus_gpt-4.1-nano_3_runs.jsonl#1 vs humanevalplus_gpt-4.1-nano_3_runs.jsonl#2: 164 cases, -2.44 points, naive rule quiet, referee not_enough_evidence $ margin-referee noise humanevalplus_deepseek-v4-flash_2_runs.jsonl 2 runs of the same system, 1 comparisons. A 3-point rule fired on 0 of 1 (0%); 0 of those would have blocked the change. The referee said got worse (do_not_ship), the only false alarm it can raise here, on 0 of 1 (0%). Its answers: too close to call 1 (holds up means not worse at the bar; it never claims better). humanevalplus_deepseek-v4-flash_2_runs.jsonl#0 vs humanevalplus_deepseek-v4-flash_2_runs.jsonl#1: 164 cases, +0.00 points, naive rule quiet, referee not_enough_evidence $ margin-referee noise aider-polyglot-python_gpt-4o_2_runs.jsonl 2 runs of the same system, 1 comparisons. A 3-point rule fired on 1 of 1 (100%); 1 of those would have blocked the change. The referee said got worse (do_not_ship), the only false alarm it can raise here, on 0 of 1 (0%). Its answers: too close to call 1 (holds up means not worse at the bar; it never claims better). aider-polyglot-python_gpt-4o_2_runs.jsonl#0 vs aider-polyglot-python_gpt-4o_2_runs.jsonl#1: 34 cases, -5.88 points, naive rule FIRES, would block, referee not_enough_evidence $ margin-referee noise aider-polyglot-python_gpt-4o-mini_3_runs.jsonl 3 runs of the same system, 3 comparisons. A 3-point rule fired on 0 of 3 (0%); 0 of those would have blocked the change. The referee said got worse (do_not_ship), the only false alarm it can raise here, on 0 of 3 (0%). Its answers: too close to call 3 (holds up means not worse at the bar; it never claims better). aider-polyglot-python_gpt-4o-mini_3_runs.jsonl#0 vs aider-polyglot-python_gpt-4o-mini_3_runs.jsonl#1: 34 cases, +0.00 points, naive rule quiet, referee not_enough_evidence aider-polyglot-python_gpt-4o-mini_3_runs.jsonl#0 vs aider-polyglot-python_gpt-4o-mini_3_runs.jsonl#2: 34 cases, +2.94 points, naive rule quiet, referee not_enough_evidence aider-polyglot-python_gpt-4o-mini_3_runs.jsonl#1 vs aider-polyglot-python_gpt-4o-mini_3_runs.jsonl#2: 34 cases, +2.94 points, naive rule quiet, referee not_enough_evidence Across the five sets that is 11 comparisons of identical systems. The 3-point rule fired on 2 of them (18%), and on 1 of those it would have blocked a change that did nothing (gpt-4o on Aider, 34 cases, 5.88 points lower). The referee said do_not_ship on none of the 11: it answered not_enough_evidence on 10 and ship (not worse) on 1. Eleven comparisons are too few to give either a false-alarm rate. Run your own system more times before trusting one.

Released: Nov 29, 2026

llm evals model-selection agents promptfoo langfuse braintrust

Release files for margin-referee 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Built distribution (wheel)

Total release size: 313.5 kB

Release files / margin_referee-0.1.11.tar.gz

Release files / margin_referee-0.1.11-py3-none-any.whl

Security for margin-referee 0.1.11

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Nov 29, 2026 2 release files No provenance

Nov 28, 2026 2 release files No provenance

Nov 27, 2026 2 release files No provenance

Nov 26, 2026 2 release files No provenance

Nov 25, 2026 2 release files No provenance

"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.

© 2026 Python Software Foundation

Deployed from fc0d8e6

Source Attribution: This report incorporates information referenced or syndicated from Pypi.org. Read original coverage at Pypi.org.

More from Technology →
Haldwani Times
Haldwani Times Independent News & Editorial
Login
MARKETS & FINANCE
BRENT CRUDE: $78.40 -0.52% SENSEX: 81,450.20 +0.42% NIFTY 50: 24,820.15 +0.38% GOLD (24K): ₹74,500/10g -0.18% USD/INR: ₹95.54 +0.10%

ADMINISTRATIVE LEADERSHIP

Mr. Narendra Modi
Mr. Narendra Modi
Mr. Lt. Gen. Gurmit Singh
Mr. Lt. Gen. Gurmit Singh
Mr. Pushkar S. Dhami
Mr. Pushkar S. Dhami
Mr. Lalit M. Rayal
Mr. Lalit M. Rayal
Mr. Gajraj S. Bisht
Mr. Gajraj S. Bisht

Top Headlines & Breaking Stories

View All News →

Haldwani Times – Everything in Haldwani: News, Shops, Businesses & Services

Haldwani Times is the premier digital news and commercial discovery platform built specifically for the citizens, business owners, students, professionals, and visitors of Haldwani, Nainital district, and the wider Kumaon region of Devbhoomi Uttarakhand. As the economic gateway to the Kumaon Himalayas, Haldwani is a bustling metropolis connecting the plains of northern India with the scenic mountain districts of Nainital, Almora, Pithoragarh, Bageshwar, Champawat, and Udham Singh Nagar. Haldwani Times serves as the definitive digital heartbeat of the city, bringing breaking hyperlocal news, verified commercial directories, educational updates, healthcare guides, Mandi Bhav rates, and civic announcements onto a single unified, trusted platform.

The Definitive Source for Breaking Haldwani News & Civic Updates

Haldwani stands as one of the fastest-growing urban conglomerates and commercial engines in northern India. Positioned in the fertile Terai-Bhabhar belt at the foothills of the Shivalik range, the twin cities of Haldwani and Kathgodam form the administrative and logistical nerve center for the entire Kumaon division. With rapid urbanization, expanding commercial infrastructure, flourishing educational centers, and increasing inter-state transit, the demand for fast, fact-checked, and unbiased local journalism has never been greater. Haldwani Times delivers 24/7 comprehensive news coverage built on rigorous journalistic standards: - **Hyperlocal Civic News:** Real-time coverage of municipal corporation affairs, city drainage projects, traffic management blueprints, and road widening drives across Tikonia, Mukhani, Kusumkhera, Bareilly Road, and Rampur Road. - **Administrative Directives:** Official notifications from the District Magistrate (DM) Nainital, Senior Superintendent of Police (SSP), and state secretariat decisions affecting citizen welfare. - **Kumaon Weather & Disaster Alerts:** Timely mountain rainfall warnings, landslide advisories along NH-109 (Haldwani-Nainital Highway), and emergency bulletins during the monsoon and winter seasons. - **Education & Campus News:** Timely reports on Kumaon University examination schedules, Uttarakhand Board (UBSE) results, medical college admissions, and competitive coaching updates. - **Commercial & Market Trends:** Daily wholesale Mandi Bhav rates from Haldwani Subzi Mandi, real estate trends, retail market festivals, and local business openings. - **Cultural & Pahadi Heritage:** In-depth feature stories celebrating Kumaoni folk traditions, Aipan art, Nanda Devi festivals, and local community milestones.

Everything in Haldwani on One Unified Digital Ecosystem

Beyond traditional news reporting, Haldwani Times is engineered as an exhaustive local discovery engine. Historically, finding verified local business telephone numbers, emergency hospital contacts, specialized doctors, reliable plumbers, or trusted real estate consultants in Haldwani required asking neighbors or browsing outdated social media posts. Haldwani Times eliminates this friction by organizing every commercial, professional, and civic resource into searchable, verified categories. Whether you are a newly arrived resident in Kusumkhera looking for high-speed broadband providers, a parent searching for reputable CBSE schools near Kaladhungi Road, or a tourist seeking taxi rentals to Nainital, our portal delivers accurate, verified, and actionable information in seconds.

Local Shops, Retail Hubs & Traditional Bazaars in Haldwani

The retail commerce of Haldwani spans centuries-old traditional bazaars and modern commercial complexes: - **Bada Bazaar & Mangal Parao:** The historic retail heart of Haldwani, renowned for traditional Kumaoni wedding jewelry (Pauji, Guloband, Nath), brass utensils, ethnic handlooms, and wholesale clothing. - **Nainital Road & Tikonia Commercial Corridor:** Modern multi-brand retail showrooms, electronics stores, authorized smartphone service centers, branded footwear outlets, and international apparel stores. - **Bareilly Road & Rampur Road Trade Hubs:** Major agricultural machinery dealers, hardware and building material wholesalers, furniture manufacturing units, plywood distributors, and automobile showrooms. - **Subzi Mandi & Wholesale Grain Market:** One of the largest agricultural distribution centers in North India, supplying fresh vegetables, hill fruits (apples, peaches, plums), and organic Pahadi pulses (Gahat, Bhatt, Rajma) across northern states.

Healthcare Hub of Kumaon: Hospitals & Emergency Services

Haldwani serves as the premier medical lifeline for all six hill districts of Kumaon. Patients travel from Almora, Pithoragarh, Bageshwar, and Champawat to access specialized clinical treatments in Haldwani: - **Government Healthcare Institutions:** Dr. Susheela Tiwari Government Medical College & Hospital (STGH) and Base Hospital Haldwani provide tertiary trauma care, specialized super-specialties, pediatric ICUs, and 24/7 emergency response. - **Private Multi-Specialty Hospitals:** Advanced private medical centers specializing in cardiology, joint replacements, neurology, critical care, nephrology, and advanced laparoscopic surgeries. - **Diagnostic Centers & 24/7 Pharmacies:** Fully automated pathology laboratories, high-resolution MRI/CT scan centers, and round-the-clock emergency pharmacies clustered around Medical College Road, Kaladhungi Road, and Rampur Road.

Education, Colleges, Coaching Academies & Youth Development

Haldwani is the educational capital of the Kumaon region, home to thousands of ambitious students preparing for medical, engineering, defense, and civil services careers: - **Premier Degree Colleges:** Motiram Baburam Government Post Graduate College (MBPG College) and Women's Degree College providing extensive undergraduate and postgraduate humanities, commerce, and science programs. - **Competitive Coaching Ecosystem:** Highly reputed coaching academies for NEET UG, JEE Main & Advanced, UPSC Civil Services, UKPSC/UKSSSC, NDA, CDS, and Banking examinations along Kaladhungi Road and Tikonia. - **Affiliated Schooling Infrastructure:** Esteemed CBSE, ICSE, and Uttarakhand Board schools imparting value-based holistic education with modern sports and laboratory facilities.

Real Estate, Housing Colonies & Urban Expansion Trends

Driven by rapid infrastructure expansion and high quality of life, Haldwani's real estate market is expanding outward into organized residential colonies: - **Prime Residential Localities:** Highly sought-after residential sectors in Mukhani, Kusumkhera, Kaladhungi Road, Judge Farm, Daharia, and Bhotia Parao offering planned housing, green parks, and modern civic amenities. - **Commercial Property Investments:** Thriving commercial retail complexes, office spaces, and warehouse hubs developing rapidly along the proposed Haldwani Ring Road and transport corridors. - **Property Advisory & RERA Compliance:** In-depth real estate updates, circle rate revisions by the Nainital district administration, and buyer advisory guidelines for safe property acquisitions.

Strategic Transit Gateway, Tourism Routes & Kumaon Himalayan Connectivity

Haldwani-Kathgodam is the vital transit bridge connecting the plains of Delhi NCR and Uttar Pradesh with the hill stations of Uttarakhand: - **Kathgodam Railway Terminal:** Connecting Kumaon directly to New Delhi (Shatabdi Express, Ranikhet Express), Lucknow, Kolkata, Jammu, and Dehradun. - **ISBT Haldwani:** Operating round-the-clock interstate and mountain bus routes managed by Uttarakhand Transport Corporation (UTC) and private deluxe coaches. - **Pantnagar Airport (PGH):** Located just 26 km from Haldwani, offering scheduled domestic flights to New Delhi, Dehradun, Pithoragarh, and regional hubs. - **Himalayan Tourism Hub:** The primary staging point for journeys to Nainital (34 km), Bhimtal (30 km), Mukteshwar (72 km), Kainchi Dham (42 km), Almora (90 km), Ranikhet (80 km), and Jim Corbett National Park (55 km).

Gaula River Mining, Ecological Balance & The Bhabhar Economy

The Gaula River represents the undisputed economic and hydrological lifeline of Haldwani and the broader Nainital district. Originating from the Sattal-Bhimtal catchment in the lesser Himalayas, the river flows south past Kathgodam and Haldwani before merging into the Ramganga. For generations, the Gaula riverbed has provided the foundation for both regional agriculture and the construction economy across northern India: - **Regulated Minor Mineral Extraction:** During the open mining season (typically October to May), thousands of registered tractor-trolleys and heavy dumpers harvest riverbed gravel, sand, and boulders under strict surveillance by the Uttarakhand Forest Development Corporation and the Nainital district administration. - **Livelihood Support for Over 50,000 Families:** The Gaula mining economy directly and indirectly sustains vehicle owners, drivers, mechanics, diesel pump stations, roadside eateries, and local laborers, circulating over ₹500 crore into Haldwani's local markets annually. - **Environmental Safeguards & Flood Mitigation:** In strict adherence to High Court and National Green Tribunal (NGT) directives, scientific replenishment studies, satellite GPS tracking on transport vehicles, and seasonal mining bans during the monsoon protect the river's ecological balance and prevent bank erosion along low-lying residential sectors.

Culinary Landscape: From Traditional Kumaoni Rasoi to Modern Cafes

Haldwani's gastronomic scene reflects a delightful blend of rustic mountain traditions and cosmopolitan dining: - **Authentic Kumaoni Specialties:** Local restaurants and heritage dhabas serve traditional mountain delicacies cooked in iron vessels, including Bhatt ki Churkani (black soybean curry), Gahat ke Dubke (horsegram puree), Aloo ke Gutke tempered with wild Himalayan chives (Jamboo) and Jakhiya, and refreshing cucumber Raita flavored with freshly crushed mustard seeds. - **Traditional Confectioneries:** Historic sweet shops along Bada Bazaar and Nainital Road craft Almora's world-famous Bal Mithai (roasted caramelized khoya fudge coated in sugar balls) and Singaudi (sweetened khoya wrapped in wild Malu leaves). - **Vibrant Street Food & Cafe Culture:** As dusk falls, Tikonia and Nainital Road come alive with bustling street food stalls offering steaming Tibetan momos, spiced thukpa, Kathi rolls, and hot Masala Chai, alongside modern rooftop cafes serving specialty Italian coffees and continental snacks.

Cultural Festivals, Folk Heritage & The Aipan Art of Kumaon

Beyond commercial enterprise, Haldwani is the proud cultural showcase of Devbhoomi Uttarakhand: - **Aipan Folk Art Tradition:** The sacred geometrical floor and wall art handcrafted with red ochre (Geru) and white rice paste (Biswar) adorning thresholds, altars, and chowkis during auspicious ceremonies, now preserved through local women's self-help cooperatives. - **Classical Baithki & Khadi Holi:** Unique to Kumaon, musical celebrations starting as early as the month of Paush, featuring classical Hindustani ragas sung in community courtyards followed by energetic Chholiya dance performances during spring. - **Nanda Devi & Chholiya Heritage:** Grand annual fairs celebrating the patron deity Nanda Devi, accompanied by martial sword-and-shield Chholiya dancers whose rhythmic brass trumpets (Ransingha) and hurka drums resonate through the valley.

Public Amenities, Parks & Community Spaces in Haldwani

Urban lifestyle and recreational infrastructure in the city: - **Green Parks & Walking Tracks:** Walkway projects around Daharia, Judge Farm, and Awas Vikas providing lush recreational zones for families and seniors. - **Community Centers & Sports Grounds:** Multi-purpose auditoriums and grounds hosting cultural melas, badminton tournaments, and community celebrations. - **Gaula Barrage & Forest Trails:** Scenic river viewpoints and natural birdwatching areas attracting eco-tourists and local nature enthusiasts on weekends.

Frequently Asked Questions (FAQs)

How can I access live breaking news and weather alerts for Haldwani?

Haldwani Times operates a dedicated 24/7 hyperlocal newsroom providing real-time breaking bulletins, traffic alerts, and meteorological warnings. You can access live news directly from our homepage, subscribe to instant browser push notifications, or view categorical updates on Uttarakhand, Education, and Mandi Bhav. During monsoon and winter weather events, our correspondents provide live updates on NH-109 road blockages and emergency administrative orders issued by the Nainital District Magistrate.

Is Haldwani Times completely free to read for all visitors?

Yes, Haldwani Times offers completely unrestricted, open-access reading to all users without mandatory paywalls. Readers across Haldwani, Uttarakhand, and the global diaspora can freely browse all breaking news reports, investigative articles, business directory listings, and historical archives. Our public-interest mission ensures that essential civic information, emergency hospital directories, and educational circulars remain universally accessible to everyone at zero cost.

How can local business owners list their shop or service in the Haldwani directory?

Local merchants, medical practitioners, schools, and service professionals can register their business by navigating to our 'Business Directory' page and selecting 'Add Listing'. The registration process allows you to input your business name, address, contact numbers, operational hours, services offered, and high-resolution showroom photographs. Once submitted, our local verification team verifies the physical address within 24 hours to ensure high consumer trust and top ranking on Google.

Can I read Haldwani Times articles in Hindi as well as English?

Yes, Haldwani Times features a seamless, native bilingual reading experience tailored for our regional readership. With our one-click language toggle located prominently in the navigation bar, you can instantly switch between English and pure Hindi. Both versions feature carefully crafted editorial phrasing, accurate regional terminology, and culturally resonant storytelling to ensure maximum readability for students, families, and senior citizens alike.

How do I submit news tips, event notices, or press releases to the editorial team?

Our newsroom warmly welcomes verified news tips, community event notices, civic grievances, and official press releases from citizens and local organizations. You can submit your documents, photos, or video evidence directly to our central editorial desk at editorial@haldwanitimes.com or via our Help & Support page. Our senior editors review every submission for factual authenticity, multi-source verification, and public relevance prior to publication.

Where can visitors find authentic Kumaoni Bal Mithai and Singaudi in Haldwani?

Renowned traditional sweet houses clustered along Bada Bazaar, Mangal Parao, Kathgodam Station Road, and Nainital Road specialize in daily batches of authentic Bal Mithai and fragrant Singaudi prepared with pure mountain dairy khoya and natural ingredients.

What transportation options are available for traveling from Haldwani to Nainital and Bhimtal?

Continuous state transport buses (UTC), KMOU coaches, and registered taxi union sharing cabs operate 24/7 from the Haldwani Roadways Bus Station (near Tikonia) and Kathgodam Railway Station. Fares are regulated by the transport department, with mountain travel times ranging between 1 to 1.5 hours.