PageSourceSearch

https://couscouskabyle-iscc-app.hf.space/assets/AdminSourcesPage-CCR4J16t.js

js couscouskabyle-iscc-app.hf.space collected 2026-10-03 16:46:50 UTC 13,561 bytes, 1 lines download raw bytes

1import{r as d,j as e}from"./vendor-DGOCnzxu.js";import{G as p,H as g,b as f}from"./index-BBMFk3BU.js";import"./router-BWikjRJy.js";import"./gsap-CzGW6FVa.js";const x=[{id:"in-browse",heading:null,rows:[{key:"ISCC",scheme:"ISCC",title:"Valid certificates CSV",url:"https://csv.iscc-system.org/export.php",chips:["In Browse"],note:"Also: compliance API · fake / excluded / PoO lists"},{key:"REDcert",scheme:"REDcert",title:"Certificate register form",url:"https://redcert.eu/ZertifikateDatenAnzeige.aspx",chips:["In Browse"]},{key:"INS",scheme:"INS",title:"GSE national register",url:"https://www.gse.it/servizi-per-te/registro-del-sistema-nazionale-di-certificazione",chips:["In Browse","Local weekly only"]},{key:"LCFS",scheme:"LCFS",title:"CARB current pathways (xlsx)",url:"https://ww2.arb.ca.gov/sites/default/files/classic/fuels/lcfs/fuelpathways/current-pathways_all.xlsx",chips:["In Browse","Biofuels-only scope"]},{key:"EPA",scheme:"EPA",title:"Part 80 fuels programs list",url:"https://cdxoarapps.epa.gov/oar-otaq-reg-III/rest/public/reports/Part80FuelsProgramsList",chips:["In Browse","Renewable Fuel Producers"]},{key:"Oregon",scheme:"Oregon",title:"Clean Fuels Program CI list (xlsx)",url:"https://www.oregon.gov/deq/FilterDocs/cfp-All-CIs.xlsx",chips:["In Browse"]},{key:"BC",scheme:"BC",title:"LCFS fuel-codes bulletins API",url:"https://lcfs-backend-prod.apps.silver.devops.gov.bc.ca/api/fuel-codes/bulletins",chips:["In Browse"],note:"Current + archived bulletins, paginated JSON — replaces the RLCF-012 PDF below"},{key:"BC LCFS",scheme:"BC LCFS",title:"Information bulletins hub",url:"https://www2.gov.bc.ca/gov/content/industry/electricity-alternative-energy/transportation-energies/renewable-low-carbon-fuels/information-bulletins",chips:["Hub","In Browse"]},{key:"RLCF-012",scheme:"RLCF-012",title:"BC pathway / CI table (bulletin)",url:"https://www2.gov.bc.ca/assets/gov/farming-natural-resources-and-industry/electricity-alternative-energy/transportation/renewable-low-carbon-fuels/rlcf012_approved_carbon_intensities_current_14nov2025.pdf",chips:["Raw table","In Browse"],note:"Retired as a PDF (superseded by the BC fuel-codes API above); kept for reference"}]},{id:"canada",heading:"Canada — not in Browse yet",rows:[{key:"CFR",scheme:"CFR",title:"ECCC Clean Fuel Regulations hub",url:"https://www.canada.ca/en/environment-climate-change/services/managing-pollution/energy-production/fuel-regulations/clean-fuel-regulations.html",chips:["Hub","Not in Browse"]},{key:"CFR CI",scheme:"CFR CI",title:"Federal CI calculations open-data listing",url:"https://data-donnees.az.ec.gc.ca/api/path_contents?path=/regulatee/climateoutreach/carbon-intensity-calculations-for-the-clean-fuel-regulations/en/Current%20Version",chips:["Raw table","Not in Browse"]}]},{id:"netherlands",heading:"Netherlands — enrichment only",rows:[{key:"NEa",scheme:"NEa",title:"REV account holders (.ods)",url:"https://www.emissieautoriteit.nl/site/binaries/site-content/collections/documents/2025/03/05/overzicht-rekeninghouders-rev-maart-2025/overzicht+rekeninghouders+maart+2025.ods",chips:["Not in Browse","Enrichment only","Local weekly only"],note:"Legal name + three permission flags on the holder card — no certificates, no scheme. 335 accounts, 53 match a currently certified holder. Probed weekly by the local task (scripts/nea_local_refresh.py); republished about twice a year, and a new edition lands at a new URL, so this link then 404s and the run stops rather than guessing."}]},{id:"consumption",heading:"Consumption statistics — Market Balances",rows:[{key:"EIA",scheme:"EIA",title:"Monthly Energy Review, tables 10.3 / 10.4a / 10.4b (US)",url:"https://www.eia.gov/totalenergy/data/browser/csv.php?tbl=T10.03",chips:["Not in Browse — Market Balances"],note:"US fuel-ethanol, biodiesel and renewable-diesel monthly consumption, by volume."},{key:"BAFA",scheme:"BAFA",title:"Amtliche Mineralölstatistik, table 9 (DE)",url:"https://www.bafa.de/DE/Energie/Rohstoffe/Mineraloel_Rohoel/mineraloel_rohoel_node.html",chips:["Not in Browse — Market Balances"],note:"German monthly biofuel blending volumes, published as a dated PDF per month."},{key:"CORES",scheme:"CORES",title:"CORES / CNMC open data (ES)",url:"https://catalogodatos.
1cnmc.es",chips:["Not in Browse — Market Balances"],note:"Spanish monthly biofuel consumption, one CKAN dataset per calendar year."},{key:"EPA RFS",scheme:"EPA RFS",title:"RFS RIN generation / separation / retirement / available spreadsheets (US)",url:"https://www.epa.gov/fuels-registration-reporting-and-compliance-help/spreadsheet-rin-generation-and-renewable-fuel-0",chips:["Not in Browse — Market Balances"],note:"A different EPA product from the Part 80 producer register above — RIN market activity, not certified producers."},{key:"RTFO",scheme:"RTFO",title:"RTFO statistics data tables (GB)",url:"https://www.gov.uk/government/statistical-data-sets/renewable-transport-fuel-obligation-rtfo-statistics-data-tables",chips:["Not in Browse — Market Balances"],note:"UK renewable fuel volumes by obligation period, fuel, feedstock and origin. A depth source, not a fresh one: each obligation year is published cumulatively across five provisional releases then a final report ~14 months after the year ends. Obligation years 2023–2025 are loaded."}]}];function o(s){return!s||Number.isNaN(new Date(s).getTime())?null:f(s).split(" · ")[0]}const w=4;function j({entry:s}){const n=o(s.last_checked_at);if(!n)return null;const t=s.consecutive_unchanged??0,l=t>=w,i=o(s.last_change_at),r=(s.checks_total??0)>=2;return e.jsx("dl",{className:"adminSources__cadence",children:e.jsxs("div",{children:[e.jsx("dt",{children:"Last checked"})," ",e.jsxs("dd",{children:[n," — ",r?t>0?`unchanged ${t} check${t===1?"":"s"} running`:"moved since last check":"first check, no baseline yet",r?e.jsx("span",{className:`cadenceTag ${l?"cadenceTag--quiet":"cadenceTag--live"}`,children:l?i?`quiet since ${i}`:"quiet":"moves weekly"}):null]})]})})}function m(s){const n=new Date(s);if(Number.isNaN(n.getTime()))return null;const t=new Date,l=(t.getUTCFullYear()-n.getUTCFullYear())*12+(t.getUTCMonth()-n.getUTCMonth())-(t.getUTCDate()<n.getUTCDate()?1:0);return l<0?null:l}function _({edition:s}){const n=o(s);if(!n)return null;const t=m(s);return e.jsx("dl",{className:"adminSources__freshness",children:e.jsxs("div",{children:[e.jsx("dt",{children:"Snapshot edition"})," ",e.jsxs("dd",{children:[n,t===null?null:e.jsx("span",{className:"cadenceTag cadenceTag--quiet",children:t<1?"this month":`${t} month${t===1?"":"s"} old`})]})]})})}const b=/^(\d{4})-(\d{2})$/;function v({coverage:s}){const n=b.exec(s);if(!n)return e.jsx("dl",{className:"adminSources__freshness",children:e.jsxs("div",{children:[e.jsx("dt",{children:"Data runs through"})," ",e.jsx("dd",{children:s})]})});const t=new Date(Date.UTC(Number(n[1]),Number(n[2])-1,1)),l=t.toLocaleDateString(void 0,{year:"numeric",month:"short",timeZone:"UTC"}),i=m(t.toISOString());return e.jsx("dl",{className:"adminSources__freshness",children:e.jsxs("div",{children:[e.jsx("dt",{children:"Data runs through"})," ",e.jsxs("dd",{children:[l,i===null?null:e.jsx("span",{className:"cadenceTag cadenceTag--quiet",children:i<1?"current":`${i} month${i===1?"":"s"} behind`})]})]})})}function N(s){if(s>=14){const n=Math.floor(s/7);return`overdue ${n} week${n===1?"":"s"}`}return`overdue ${s} day${s===1?"":"s"}`}function u({plan:s}){return s.state==="overdue"?e.jsx("span",{className:"cadenceTag cadenceTag--overdue",children:N(s.overdue_days??0)}):s.state==="on_schedule"?e.jsx("span",{className:"cadenceTag cadenceTag--live",children:"on schedule"}):e.jsx("span",{className:"cadenceTag cadenceTag--quiet",children:"manual"})}function S({plan:s}){if(!s)return null;const n=s.state==="on_schedule"||s.state==="overdue",t=o(s.last_successful);return e.jsxs("dl",{className:"adminSources__plan",children:[e.jsxs("div",{children:[e.jsx("dt",{children:"Refresh plan"})," ",e.jsxs("dd",{children:[s.schedule,!n&&t?` — last run ${t}`:null,n?null:e.jsx(u,{plan:s})]})]}),n&&t?e.jsxs("div",{children:[e.jsx("dt",{children:"Last successful"})," ",e.jsxs("dd",{children:[t,s.last_successful_note?` (${s.last_successful_note})`:null]})]}):null,n&&s.next_label?e.jsxs("div",{children:[e.jsx("dt",{children:"Next scheduled"})," ",e.jsxs("dd",{children:[s.next_label,e.jsx(u,{plan:s})]})]}):null]})}function k({entry:s}){if(!s)return null;if(s.snapshot_edition)return e.jsx(_,{edition:s.snapshot_edition});if(s.coverage_through)return e.jsx(v,{coverage:s.coverage_through});const n=o(s.fetched_at),t=o(s.source_last_modified);return e.jsxs(e.Fragment,{children:[e.jsxs("dl",{className:"adminSources__freshness",children:[e.jsxs("div",{children:[e.jsx("dt",{children:"Sinetti pulled"})," ",e.jsx("dd",{children:n??"unknown"})]}),e.jsxs("div",{children:[e.jsx("dt",{children:"Source published"}
1)," ",e.jsx("dd",{className:t?void 0:"unknown",children:t??"not disclosed by source"})]})]}),e.jsx(j,{entry:s})]})}function C({corpus:s}){if(!(s!=null&&s.ok)||!s.documents.length)return null;const n=new Map;for(const i of s.documents){const r=i.scheme||"other";n.set(r,(n.get(r)??0)+1)}const t=[...n.entries()].sort((i,r)=>r[1]-i[1]).slice(0,4).map(([i,r])=>`${i} ${r}`).join(" · "),l=s.documents.reduce((i,r)=>r.fetched_at>i?r.fetched_at:i,"");return e.jsxs("section",{"aria-label":"Ask knowledge corpus",children:[e.jsx("h2",{children:"Ask knowledge corpus — RAG documents"}),e.jsx("ul",{className:"adminSources",children:e.jsxs("li",{className:"adminSources__row",children:[e.jsx("div",{className:"adminSources__scheme",children:"RAG"}),e.jsxs("div",{className:"adminSources__body",children:[e.jsx("div",{className:"adminSources__title",children:"Retrieval corpus behind Ask"}),e.jsx("div",{className:"adminSources__url",children:"Admin → Ask knowledge holds the full per-document catalog"}),e.jsxs("div",{className:"adminSources__chips",children:[e.jsxs("span",{className:"pill",children:[s.documents.length," documents"]}),e.jsxs("span",{className:"pill",children:[s.total_chunks.toLocaleString()," chunks"]}),t?e.jsx("span",{className:"pill",children:t}):null]}),e.jsxs("dl",{className:"adminSources__freshness",children:[e.jsxs("div",{children:[e.jsx("dt",{children:"Index built"})," ",e.jsx("dd",{children:o(s.built_at)??"unknown"})]}),l?e.jsxs("div",{children:[e.jsx("dt",{children:"Newest document fetched"})," ",e.jsx("dd",{children:o(l)??l})]}):null]}),e.jsx("dl",{className:"adminSources__plan",children:e.jsxs("div",{children:[e.jsx("dt",{children:"Refresh plan"})," ",e.jsxs("dd",{children:["run on request (scheme-document refresh + index rebuild) — deliberately unscheduled, so no next date is shown",e.jsx("span",{className:"cadenceTag cadenceTag--quiet",children:"manual"})]})]})})]}),e.jsx("a",{className:"adminSources__open",href:"/admin/knowledge","aria-label":"Open Ask knowledge",children:"Open ↗"})]})})]})}function I(){const[s,n]=d.useState({}),[t,l]=d.useState({}),[i,r]=d.useState(null);return d.useEffect(()=>{let c=!0;return p().then(a=>{c&&(a.ok&&n(a.schemes),a.plans&&l(a.plans))}).catch(()=>{}),g().then(a=>{c&&a.ok&&r(a)}).catch(()=>{}),()=>{c=!1}},[]),e.jsxs("main",{children:[e.jsx("h1",{children:"Sources"}),e.jsx("p",{className:"pageIntro",children:"Jump links to the public register endpoints Sinetti pulls from. Scheme sites remain authoritative for freshness, schema, and row-level checks."}),e.jsxs("p",{className:"adminSources__legend",children:["Tag states: ",e.jsx("span",{className:"cadenceTag cadenceTag--live",children:"on schedule"})," next run is in the future and the last one landed within its cadence ·"," ",e.jsx("span",{className:"cadenceTag cadenceTag--overdue",children:"overdue 4 days"})," evidence is older than cadence + grace — covers failures that leave no receipt ·"," ",e.jsx("span",{className:"cadenceTag cadenceTag--quiet",children:"manual"})," no scheduled job; refreshed on request, no next date is ever invented. Times are European Continental Time (CET/CEST)."]}),x.map(c=>e.jsxs("section",{"aria-label":c.heading??"In Browse registers",children:[c.heading?e.jsx("h2",{children:c.heading}):null,e.jsx("ul",{className:"adminSources",children:c.rows.map(a=>e.jsxs("li",{className:"adminSources__row",children:[e.jsx("div",{className:"adminSources__scheme",children:a.scheme}),e.jsxs("div",{className:"adminSources__body",children:[e.jsx("div",{className:"adminSources__title",children:a.title}),e.jsx("div",{className:"adminSources__url",children:a.urlDisplay??a.url}),e.jsx("div",{className:"adminSources__chips",children:a.chips.map(h=>e.jsx("span",{className:"pill",children:h},h))}),a.note?e.jsx("div",{className:"adminSources__note",children:a.note}):null,e.jsx(k,{entry:s[a.scheme]}),e.jsx(S,{plan:t[a.scheme]})]}),e.jsx("a",{className:"adminSources__open",href:a.url,target:"_blank",rel:"noopener noreferrer","aria-label":`Open ${a.key}`,children:"Open ↗"})]},a.key))})]},c.id)),e.jsx(C,{corpus:i}),e.jsx("p",{className:"pageIntro adminSources__honesty",children:"Honesty: Legal §6.2 still covers customer-facing attribution. This page is for operators — no RAG PDF laundry list, no customer Settings tab. “Next scheduled” is read from the registered job/task declaration, not promised by the app; an overdue tag is computed from evidence age alone, so it also catches failures that write no receipt. The Trust Review monitor stays the notification channel — this page is the glanceable mirror of the same expectation, not a second alerting system."})]})}
1export{I as AdminSourcesPage};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.