EC

Responsable du Risque de Crédit Particuliers et Commercial de la Filiale

Full-time Sénégal, SN
Posted 1 semaine, 2 jours ago 149 views 0 applications

Job Description

Here's a thinking process: 1. **Analyze User Input:** - User wants me to format a raw scraped job description as clean semantic HTML. - Rules are very specific: use `

` for paragraphs, `

` for section headers, `
  • ` for lists, no CSS classes, no inline styles, no `
    `s, no `
    ` tags. - Must preserve ALL original content word-for-word - no adding, removing, summarizing, or rephrasing. - If no clear sections, just wrap paragraphs in `

    ` tags. - Return ONLY the HTML. No markdown fences, no explanation, no preamble. 2. **Identify the Input Text:** - The input is a plain-text job description with lots of formatting artifacts from a website (spans, styles, languages, bullet points, etc.). - It contains French and English mixed, bullet points with `

  • `, `

    `, ``, etc. - There are also some stray HTML tags like `

    `, ``, ``, ``, `
    `, which I need to handle according to rules: no `
    `s, no `
    ` tags, but the rule says "Use

    for introductory paragraphs and general text", "Use

    for section headers", "Use
    • for list items". It also says "No CSS classes, no inline styles, no
      s, no
      tags". - Critical: "Preserve ALL original content word-for-word — do not add, remove, summarise, or rephrase". This means I must keep all the text content exactly as it appears, but I need to restructure it into the allowed tags. - I need to strip out the presentational HTML tags (``, `

      `, `

        `, `
      • `, ``, `
        `, ``, etc.) but keep the inner text. However, the rule says "Preserve ALL original content word-for-word". This is tricky. Does it mean keep the exact text including the tags? No, the whole point is to format it as clean semantic HTML using only `

        `, `

        `, `
        • `. So I must extract the text content and re-wrap it in the allowed tags, keeping the text exactly as is. - I need to be careful about the `` tags - they denote important text like section headers. The rule says use `

          ` for section headers. But it also says "Preserve ALL original content word-for-word". I think I should keep the text content, and if there's ``, I can either keep it as text or convert to `

          ` if it's a section header. The rule says "Use

          for section headers (e.g. Responsibilities, Qualifications, Requirements, Education, Experience, Skills, How to Apply, Key Duties, About the Role)". So I need to identify section headers and wrap them in `

          `, but also keep the text word-for-word. I'll interpret this as: the text inside `` or section titles should be preserved, and I'll use `

          ` to mark those sections, but the text itself remains unchanged. - Actually, re-reading: "Preserve ALL original content word-for-word — do not add, remove, summarise, or rephrase". This likely means the textual content must not be altered, but the markup can change to the specified semantic HTML. So I'll extract all text, keep it exactly, and wrap in `

          `, `

          `, `
          • ` as appropriate. - I need to handle the mixed language, bullet points, and nested structures. - Let me parse the input mentally and structure it. Input analysis: - Starts with `

            EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES

            ` - Then `

            Stratégie

            ` - Then `
            • Élaborer et mettre en œuvre des stratégies de crédit alignées sur l’appétence au risque définie, les objectifs de rentabilité, ainsi que le contexte et les perspectives du marché

            ` - Many more `
            • ...

            ` patterns. - Then `

            Supervision opérationnelle

            ` - More `
            • ...` - Then `

              Reporting, stratégie et analyse

              ` - More `
              • ...` - Then `

                Leadership et management

                ` - More `
                • ...` - Then `

                   

                  ` - Then `

                  COMPÉTENCES EN LEADERSHIP

                  ` - Then `

                  Le titulaire du poste doit posséder les compétences en leadership suivantes : 

                  ...` - Then a long list of qualifications/experiences with `•` bullet points. - Then some trailing `

                   

                  `, `
                  `, `

        `, etc. The text is huge and messy. I need to output clean HTML using only `

        `, `

        `, `
        • `. No `
          `, no ``, no inline styles, no `
          `. Strategy: I'll go through the text, identify natural sections and bullet points, strip all presentational tags, and re-markup using the allowed tags. I must preserve all text content exactly word-for-word. That includes the French/English mix, the bullet points with `•`, the ` ` etc. I should probably keep ` ` as is, or maybe normalize to space? The rule says "Preserve ALL original content word-for-word". I think ` ` is part of the content, but in HTML output, I can just keep the text characters. Actually, the input has lots of ` ` inside `

          ` tags. I'll keep them as spaces or ` `? To be safe, I'll keep the exact text strings, but since I'm outputting HTML, I can just have the text nodes. The rule says "No markdown fences, no explanation, no preamble." and "Return ONLY the HTML." I'll output proper HTML with text content. Key challenge: The input has `

          • text

          `. I need to convert this to `

          Header

          ` or `
          • text
          `. The `

          ` inside `

        • ` can be just `
        • text
        • ` since I'm not using `

          ` inside? Wait, the rule says "Use

          for introductory paragraphs and general text" and "Use

          • for list items (duties, requirements, qualifications, skills)". It doesn't explicitly say I can't have `

            ` inside `

          • `, but it says "No CSS classes, no inline styles, no
            s, no
            tags". The `

            ` has inline styles, which are prohibited. So I must strip the inline styles. I can just have `

            • text
            ` or `
          • text

          • `. Since the rule says "Use

            for introductory paragraphs and general text", and "Use

            • for list items", I think for list items, I should just use `
              • text
              ` without extra `

              `, unless the text is a paragraph. But the original has `

              text

              ` inside `
            • `. I'll simplify to `
            • text
            • ` or `

              text

              ` depending. To be safe and comply with "Preserve ALL original content word-for-word", I'll keep the text content and wrap list items as `
            • text
            • `, and section headers as `

              text

              `. Let me outline the structure I'll create: - The very first part: "PRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES" - this is a section header. I'll use `

              PRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES

              ` - Then "Stratégie" - `

              Stratégie

              ` - Then list of duties under Strategy - `
              • Élaborer et mettre en œuvre des stratégies de crédit alignées sur l’appétence au risque définie, les objectifs de rentabilité, ainsi que le contexte et les perspectives du marché
              ` - Then more duties under other headers: "Supervision opérationnelle", "Reporting, stratégie et analyse", "Leadership et management" - Then "COMPÉTENCES EN LEADERSHIP" - `

              COMPÉTENCES EN LEADERSHIP

              ` - Then the list of qualifications/skills with `•` bullets. These are not `
              • ` in the source but have `•` bullet points. I'll convert them to `
                • ...` items. - Then maybe trailing text. Important: I must not lose any text. The input is very long. I'll need to carefully extract every text node. Let me copy the input text and mentally parse it. Since I can't actually run code, I'll have to do it manually, which is error-prone but I'll try my best. Input text (I'll break it down by visible chunks): Chunk 1: `

                  EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES

                  ` Text: "EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES" (the "E" might be part of "EPRINCIPALES" or a typo; it's "PRINCIPALES RESPONSABILITÉS...". Actually it says `E` then `PRINCIPALES RESPONSABILITÉS...` so combined "EPRINCIPALES..." but likely the "E" is a fragment. I'll keep the text as appears: "EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES" or maybe just "PRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES". I'll preserve exactly: "EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES". But wait, the `E` might be the start of "E" for something else. I'll just output the exact text between the tags: "EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES". Actually, looking at it: `EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES`. So the full strong text is "E" + "PRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES" = "EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES". I'll keep it as is. But the rule says use `

                  ` for section headers. This looks like a section header. I'll wrap it in `

                  EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES

                  `. However, maybe I should just use the text as a heading. I'll do `

                  PRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES

                  ` and drop the leading "E" if it's just a formatting artifact, but the rule says preserve all content word-for-word. I'll include the "E". Actually, maybe it's "E" as in the letter E, maybe it's a placeholder. I'll keep it exactly. Let me re-read the input carefully. The very first line: `

                  EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES

                  ` The `

                  ` tag has inline styles `style="color: white; font-family: Aptos, sans-serif;"` which are prohibited. I must strip them. The content inside is "EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES". I'll output `

                  EPRINCIPALES RESPONSABILITÉS, INDICATEURS ET INTERFACES

                  `. Next: `

                  Stratégie

                  ` Text: "Stratégie". I'll use `

                  Stratégie

                  `. Next: `
                  • Élaborer et mettre en œuvre des stratégies de crédit alignées sur l’appétence au risque définie, les objectifs de rentabilité, ainsi que le contexte et les perspectives du marché

                  ` Text: "Élaborer et mettre en œuvre des stratégies de crédit alignées sur l’appétence au risque définie, les objectifs de rentabilité, ainsi que le contexte et les perspectives du marché" I'll output `
                  • Élaborer et mettre en œuvre des stratégies de crédit alignées sur l’appétence au risque définie, les objectifs de rentabilité, ainsi que le contexte et les perspectives du marché
                  ` Next: `

                   

                  ` Text: " " - I'll keep as ` ` or space? I'll keep as ` ` since it's content, but in HTML it might render as space. To preserve word-for-word, I'll include ` `. Next: `
                  • Analyser les indicateurs clés de performance sur l’ensemble du cycle afin d’identifier les tendances et de mettre en œuvre des axes d’amélioration aux niveaux du pays et de la filiale

                  ` Text: "Analyser les indicateurs clés de performance sur l’ensemble du cycle afin d’identifier les tendances et de mettre en œuvre des axes d’am
                  Apply Now ↗

                  How well do you match?

                  Get an instant AI match score for this role — free, takes 3 minutes.

                  Tailor your CV for this role

                  The concierge rewrites your whole CV and writes a matching cover letter for this job — opens right here, nothing to paste.

                  Tailor My CV to This Job ✍️

                  Free cover letter for this job

                  Upload your CV and get a tailored cover letter in seconds — free, no account needed.

                  Generate a Cover Letter 📝

                  Join Our Cameroon Channels

                  Get free job alerts on your phone

                  MJC
                  ECHO
                  Your MJC Assistant

                  I'm ECHO, your MJC career assistant. I can help you find jobs, explore career tools, and connect with opportunities across Africa.

                  How was your experience with ECHO?