Mapper: offer Custom Match Algorithm without the OCL Online API

Aperta Adatta ai principianti
#2,966 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript, react
Ambito
frontend

Direzione di ricerca

Inizia con useAlgos in src/components/map-projects/algorithms.jsx, poi confronta come OCL Search e OCL Semantic ricavano nomi e descrizioni dalle stringhe locale. Aggiungi la voce dell’algoritmo integrato e verifica che il selettore lo mostri una sola volta, con o senza il catalogo; conferma che AutoMatch possa eseguirlo quando OCL_ONLINE_API_URL non è impostato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

component/mapper decision/ai-ready signal/low-risk signal/quick-win signal/small-scope signal/well-specified stage/triaged type/bug

The open OCL Mapper has all the code a custom matching algorithm needs: the API URL and token fields in MultiAlgoSelector.jsx, and the batched POST in MapProject.jsx, whose request and response follow $match. But the Mapper only lists Custom Match Algorithm when the algorithm catalog at OCL_ONLINE_API_URL (/match-algorithms/) serves it. A Mapper built without OCL_ONLINE_API_URL offers only OCL Search and OCL Semantic.

Add Custom Match Algorithm to the built-in algorithms (useAlgos in src/components/map-projects/algorithms.jsx), so every build offers it. The catalog can still override it: MapProject.jsx already merges catalog entries over built-in ones by id and type (custom, custom).

Acceptance criteria

  • With no OCL_ONLINE_API_URL, the Matching Algorithm picker lists Custom Match Algorithm, and AutoMatch runs with it.
  • With the catalog configured, the picker lists it once.
  • Its name and description come from locale strings, like OCL Search and OCL Semantic.

Context: the Matching Algorithms page in OCL Docs (OpenConceptLab/ocl_issues#2817, OpenConceptLab/ocl-docs#75) documents Custom Match Algorithm as part of the open Mapper.

Lingua principale
Nessun dato sulla lingua
Stelle
4
Fork
2
Merge medio
2h 12m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenConceptLab/ocl_issues

Tutte le issue di OpenConceptLab/ocl_issues

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.