feat: auto-select STT engine (Azure → Google Cloud → Whisper) and show provider in results
Removes user-facing engine/model/key/beam controls. The server now picks the best available engine automatically: 1. Microsoft Azure Speech — short clips (≤1MB, no diarization, audio/*) 2. Google Cloud Speech v2 — long audio, diarization, all languages 3. OpenAI Whisper GPU — local fallback Results display which provider was used (e.g. "Transcribed with Google Cloud Speech") via transcript-engine-badge and traceMeta. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,161 @@
|
||||
/* Real data sourced from dobetternorge.no
|
||||
Used by the tool views to back every claim with a real citation. */
|
||||
|
||||
window.DBN_DATA = {
|
||||
/* ── Header stats ──────────────────────────────────────────────── */
|
||||
stats: {
|
||||
echrViolations: 23,
|
||||
echrLossRate: 64, // % ECHR cases lost 2017-22
|
||||
tribunalDecisions: 1731,
|
||||
pendingStrasbourg: 20,
|
||||
members: 9482,
|
||||
memberTarget: 20000,
|
||||
targetDate: "Dec 2026",
|
||||
},
|
||||
|
||||
/* ── ECHR cases against Norway ─────────────────────────────────── */
|
||||
cases: [
|
||||
{
|
||||
no: "01",
|
||||
name: "Strand Lobben & Others v. Norway",
|
||||
year: 2019,
|
||||
ruling: "Art. 8",
|
||||
summary: "Adoption by foster parents authorised despite biological mother's objections. Contact limited to 4-6 hrs/yr.",
|
||||
chamber: "Grand Chamber",
|
||||
vote: "13–4",
|
||||
},
|
||||
{
|
||||
no: "02",
|
||||
name: "Abdi Ibrahim v. Norway",
|
||||
year: 2021,
|
||||
ruling: "Art. 8 + 9",
|
||||
summary: "Somali mother; authorities failed to consider religious upbringing before authorising adoption by Christian foster parents.",
|
||||
chamber: "Grand Chamber",
|
||||
vote: "Unanimous",
|
||||
},
|
||||
{
|
||||
no: "03",
|
||||
name: "A.S. v. Norway",
|
||||
year: 2019,
|
||||
ruling: "Art. 8",
|
||||
summary: "Long-term foster placement treated as permanent from outset; parenting assessment based on vague, subjective criteria.",
|
||||
chamber: "Chamber",
|
||||
vote: "Unanimous",
|
||||
},
|
||||
{
|
||||
no: "04",
|
||||
name: "Pedersen & Others v. Norway",
|
||||
year: 2020,
|
||||
ruling: "Art. 8",
|
||||
summary: "Contact between parents and child reduced to two short visits per year. Strict regime of visits cemented separation.",
|
||||
chamber: "Chamber",
|
||||
vote: "6–1",
|
||||
},
|
||||
{
|
||||
no: "05",
|
||||
name: "Hernehult v. Norway",
|
||||
year: 2020,
|
||||
ruling: "Art. 8",
|
||||
summary: "Emergency removal of three children. Insufficient evidentiary basis and inadequate reunification efforts.",
|
||||
chamber: "Chamber",
|
||||
vote: "Unanimous",
|
||||
},
|
||||
{
|
||||
no: "06",
|
||||
name: "K.O. & V.M. v. Norway",
|
||||
year: 2019,
|
||||
ruling: "Art. 8",
|
||||
summary: "Restrictions on contact after care order not supported by convincing reasons; authorities failed the reunification duty.",
|
||||
chamber: "Chamber",
|
||||
vote: "Unanimous",
|
||||
},
|
||||
{
|
||||
no: "07",
|
||||
name: "Johansen v. Norway",
|
||||
year: 1996,
|
||||
ruling: "Art. 8",
|
||||
summary: "Mutual enjoyment by parent and child of each other's company is a fundamental element of family life.",
|
||||
chamber: "Chamber",
|
||||
vote: "12–5",
|
||||
},
|
||||
],
|
||||
|
||||
/* ── Contact-visit benchmarks (visits/year after care order) ───── */
|
||||
contactBenchmarks: [
|
||||
{ jurisdiction: "Norway", visits: "4–6", note: "post-removal regime" },
|
||||
{ jurisdiction: "Sweden", visits: "12", note: "comparable Nordic" },
|
||||
{ jurisdiction: "Germany", visits: "24", note: "EU benchmark" },
|
||||
{ jurisdiction: "Poland", visits: "26+", note: "EU benchmark" },
|
||||
{ jurisdiction: "ECHR benchmark",visits: "~40", note: "Art. 8 jurisprudence" },
|
||||
],
|
||||
|
||||
/* ── Voices ───────────────────────────────────────────────────── */
|
||||
voices: [
|
||||
{
|
||||
initials: "EK",
|
||||
name: "Elena K.",
|
||||
role: "Polish mother — case before Oslo tingrett",
|
||||
quote: "The meeting lasted less than a quarter of an hour. I was told I could see my daughter four times a year, two hours each time. Three years later they said she no longer had a bond with me. I am still her mother.",
|
||||
},
|
||||
{
|
||||
initials: "TR",
|
||||
name: "Tomasz R.",
|
||||
role: "Verified member · 2023",
|
||||
quote: "Fathers are treated as secondary caregivers by default. My lawyer warned me before the first meeting: Do not expect to be heard. She was right.",
|
||||
},
|
||||
{
|
||||
initials: "GT",
|
||||
name: "Gro Hillestad Thune",
|
||||
role: "Former ECHR judge (17 yrs)",
|
||||
quote: "This is an extremely serious warning from Strasbourg to the Norwegian authorities. We are talking about a systemic failure, not individual mistakes.",
|
||||
},
|
||||
{
|
||||
initials: "SS",
|
||||
name: "Stephanos Stavros",
|
||||
role: "Human rights lawyer, Council of Europe",
|
||||
quote: "It is much easier in Norway for child welfare to take children from their parents and cut any contact than to have a real reunification plan. The Court is deeply critical of this.",
|
||||
},
|
||||
],
|
||||
|
||||
/* ── International instruments cited across the tools ──────────── */
|
||||
instruments: [
|
||||
{ code: "ECHR Art. 8", full: "European Convention on Human Rights, Article 8 — Right to respect for private and family life" },
|
||||
{ code: "ECHR Art. 9", full: "European Convention on Human Rights, Article 9 — Freedom of thought, conscience and religion" },
|
||||
{ code: "ECHR Art. 6", full: "European Convention on Human Rights, Article 6 — Right to a fair trial" },
|
||||
{ code: "ECHR Art. 14", full: "European Convention on Human Rights, Article 14 — Prohibition of discrimination" },
|
||||
{ code: "UNCRC Art. 3", full: "UN Convention on the Rights of the Child, Article 3 — Best interests of the child" },
|
||||
{ code: "UNCRC Art. 9", full: "UN Convention on the Rights of the Child, Article 9 — Separation from parents" },
|
||||
{ code: "UNCRC Art. 12", full: "UN Convention on the Rights of the Child, Article 12 — Right of the child to be heard" },
|
||||
{ code: "ICCPR Art. 23", full: "International Covenant on Civil & Political Rights, Article 23 — Protection of the family" },
|
||||
{ code: "EU CFR Art. 24", full: "EU Charter of Fundamental Rights, Article 24 — Rights of the child" },
|
||||
{ code: "EU CFR Art. 7", full: "EU Charter of Fundamental Rights, Article 7 — Respect for private and family life" },
|
||||
{ code: "Barneloven §31", full: "Lov om barn og foreldre §31 — Child's right to be heard from age 7; great weight from age 12" },
|
||||
{ code: "Barneloven §42", full: "Lov om barn og foreldre §42 — Samværsrett ved samlivsbrudd (contact rights)" },
|
||||
{ code: "Barneloven §43", full: "Lov om barn og foreldre §43 — Avtale eller avgjerd om samvær (contact agreement)" },
|
||||
{ code: "Barnevernloven §4-19", full: "Lov om barnevernstjenester §4-19 — Samvær etter omsorgsovertakelse" },
|
||||
],
|
||||
|
||||
/* ── Headline variants (used by Tweaks: headline_variant) ──────── */
|
||||
headlines: {
|
||||
twelve: {
|
||||
eyebrow: "Family rights · Norway · since 2019",
|
||||
title: "They took her child in twelve minutes.",
|
||||
sub: "Open a tool. Every answer is cited. Every claim cross-checked.",
|
||||
},
|
||||
twentythree: {
|
||||
eyebrow: "European Court of Human Rights · 2015 – present",
|
||||
title: "Twenty-three violations. Every one says the same.",
|
||||
sub: "Article 8. Family life. Norway, condemned in Strasbourg.",
|
||||
},
|
||||
members: {
|
||||
eyebrow: "9,482 of 20,000 · target Dec 2026",
|
||||
title: "Numbers are how courts listen.",
|
||||
sub: "Every member is one more reason the Storting cannot look away.",
|
||||
},
|
||||
compliance: {
|
||||
eyebrow: "Oslo Syndrome · investigative series",
|
||||
title: "Compliance is love. Trust the process.",
|
||||
sub: "This workbench asks what happens when the process becomes the story.",
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user