PI

Manager Liquor Store

Full time Lonehill - Gauteng, ZA
Posted 3 weeks, 3 days ago 35 views 0 applications

Job Description

Here's a thinking process: 1. **Analyze User Input:** - User is acting as a job listing editor. - I receive raw scraped text from a job website. - My job: extract ONLY actual job information, return clean, readable format. - Must REMOVE: social sharing, author bylines, "you may also like", navigation, comments, ads/promotions, cookie/subscription notices, duplicate text, category labels not part of job, stray numbers/formatting artifacts. - Must KEEP and STRUCTURE: job title, company/name, location, job description/responsibilities, requirements/qualifications, how to apply, salary (if mentioned), deadline/closing date, job ID/reference number, contract type/level. - Return ONLY the cleaned job text. No commentary, no headers like "Here is the cleaned version", no markdown. Wait, the actual prompt I received has TWO parts: - First part: "You are a job listing editor..." with instructions to remove/add certain things, and "Return ONLY the cleaned job text." - Second part: "You receive a plain-text job description. Your ONLY job is to format it as clean semantic HTML." with different rules: use

,

,
  • , no CSS/inline/styles/
    /
    , preserve ALL original content word-for-word, if no clear sections just wrap in

    , return ONLY the HTML. No markdown fences, no explanation, no preamble. Then there's "Job description:" followed by a big block of HTML text. I need to figure out which set of instructions to follow. The very last part says "Job description:" and gives text. The instructions before that seem like a system prompt, but the user message structure is a bit mixed. Let me re-read carefully. The user message starts with: "You are a job listing editor. You receive raw scraped text from a job website..." and goes through rules about removing/keeping things, and ends with "Return ONLY the cleaned job text. Do not add any commentary, headers like "Here is the cleaned version", or markdown formatting. Just the clean job listing text." Then: "You receive a plain-text job description. Your ONLY job is to format it as clean semantic HTML." with its own rules about

    ,

    ,
    • , no CSS/inline/styles/
      /
      , preserve ALL original content word-for-word, if no clear sections just wrap paragraphs in

      , return ONLY the HTML. No markdown fences, no explanation, no preamble. Then: "Job description:" and the big text block. It seems like there are two conflicting/task-different prompts. The first is a plain-text cleaning task. The second is an HTML formatting task. The "Job description:" block is HTML-formatted text. I need to decide which one to output. The very last instruction says "Job description:" and provides the text. The prior instructions might be context or system prompt that got mixed in. But the user message ends with the job description text. Typically, the last part overrides or is the actual input. However, the two sets of rules are quite different: one says "return ONLY the cleaned job text" (plain text), the other says "format it as clean semantic HTML". Let me re-read the first part: "Your job is to extract ONLY the actual job information and return it in a clean, readable format." Then it lists what to remove/keep. Then "Return ONLY the cleaned job text. Do not add any commentary, headers like "Here is the cleaned version", or markdown formatting. Just the clean job listing text." The second part: "You receive a plain-text job description. Your ONLY job is to format it as clean semantic HTML." with HTML tags rules. "Return ONLY the HTML. No markdown fences, no explanation, no preamble." Then the "Job description:" block is provided. I think the user wants me to process the "Job description:" block according to the rules. But which rules? The first set says to extract job info, remove fluff, return clean text. The second says to format as semantic HTML using specific tags. Looking at the "Job description:" block, it's already HTML with `

      `, ``, `

      `, `
        `, `
      • `, ``, ``. It has some formatting like `style="text-align:left"`, `style="text-align:inherit"`, etc. The first set of rules says to remove stray numbers/formatting artifacts, but the second says preserve ALL original content word-for-word and use specific tags. Maybe the user wants me to apply the second set of rules (HTML formatting) to the job description text. But the first set is also there. Let me read the very beginning: "You are a job listing editor. You receive raw scraped text from a job website." Then it says "Your job is to extract ONLY the actual job information and return it in a clean, readable format." Then removal/keeping rules. Then "Return ONLY the cleaned job text." Then "You receive a plain-text job description. Your ONLY job is to format it as clean semantic HTML." Then HTML rules. Then "Job description:" block. It's possible the user copied two different prompts or scenarios. The final "Job description:" block is the actual input text to process. I need to decide which processing rules to apply. Let me examine the job description text. It starts with `

        It’s fun to work in a company where people truly BELIEVE in what they’re doing!

        ` and has lots of HTML. It includes a job description for a Liquor Manager position. It has qualifications, experience, knowledge/skills, key responsibilities sections. It also has some trailing text: "If you like wild growth and working with happy, enthusiastic over-achievers, you’ll enjoy your career with us!" and "Discover who we are". The first set of rules says to remove: social sharing, author bylines, "you may also like", navigation, comments, ads, cookie notices, duplicate text, category labels not part of job, stray numbers/formatting artifacts. It also says keep: job title, company/name, location, description/responsibilities, requirements/qualifications, how to apply, salary, deadline, job ID, contract type. But looking at the text, I don't clearly see a job title, company name, location, job ID, deadline, or application instructions embedded in a standard way. The text seems to be the body of a job posting. The second set of rules says: format as clean semantic HTML using

        ,

        ,
        • . No CSS classes, no inline styles, no
          , no
          . Preserve ALL original content word-for-word. If no clear sections, just wrap paragraphs in

          . Return ONLY the HTML. No markdown fences, no explanation, no preamble. Given that the input is already HTML, and the second set of rules specifically says "format it as clean semantic HTML" with those tag rules, and the first set says "return ONLY the cleaned job text" (plain text), I'm leaning that the user wants the HTML formatting task, because the "Job description:" block is provided, and the second prompt is more specific about transforming it into HTML with specific tags. Also, the first prompt might be a general description of the role, and the second is the actual task with the specific input. However, I need to be careful. The user message might be a single combined prompt where I need to both clean and format. But the two sets of rules conflict in output format (plain text vs HTML). Let me read the very first line: "You are a job listing editor. You receive raw scraped text from a job website." Then it describes the cleaning task. Then "You receive a plain-text job description. Your ONLY job is to format it as clean semantic HTML." This might be two separate prompts in one message, or the second is the actual instruction for the given job description. I think the safest approach is to follow the last explicit instruction before the job description. The last part says: "Job description:" and then the text. But before that, there's the HTML formatting rules. I'll assume the task is to take the job description text and format it as clean semantic HTML per the rules: use

          for intro paragraphs and general text,

          for section headers,
          • for list items, no CSS/inline/styles/
            /
            , preserve all original content word-for-word, if no clear sections just wrap in

            , return ONLY the HTML. But wait: the rules say "No CSS classes, no inline styles, no

            s, no
            tags". The input has `style="text-align:left"` and `style="text-align:inherit"`. I need to remove those inline styles. Also, the input has ``, ``, `` tags. The rules say use

            ,

            ,
            • . It doesn't say to strip other tags like , , , but it says "preserve ALL original content word-for-word — do not add, remove, summarise, or rephrase". That could mean keep the text content, but the tag structure should follow the rules. However, "preserve ALL original content word-for-word" might mean the textual content must remain exactly as is, but the HTML tags can be restructured per the rules. It's a bit ambiguous. Let me re-read: "Rules: - Use

              for introductory paragraphs and general text - Use

              for section headers (e.g. Responsibilities, Qualifications, Requirements, Education, Experience, Skills, How to Apply, Key Duties, About the Role) - Use
              • for list items (duties, requirements, qualifications, skills) - No CSS classes, no inline styles, no
                s, no
                tags - Preserve ALL original content word-for-word — do not add, remove, summarise, or rephrase - If text has no clear sections, just wrap paragraphs in

                tags - Return ONLY the HTML. No markdown fences, no explanation, no preamble." "Preserve ALL original content word-for-word" likely means the text inside the tags should not be changed, but the tags themselves should be transformed to the specified ones. Also, "No CSS classes, no inline styles" means I should strip `style=` attributes. "No

                s" means I shouldn't use
                , but the input has

                , ,

                ,
                  ,
                • , , . I need to output using only

                  ,

                  ,
                    ,
                  • (and maybe and are okay? The rules don't mention them, but say "Use

                    for section headers", "Use
                    • for list items". It doesn't forbid or , but says "No CSS classes, no inline styles, no
                      s, no
                      tags". So I should keep and perhaps, or maybe I should strip them and just keep text? "Preserve ALL original content word-for-word" might mean I should keep and as they are part of the content formatting, but the rule says "no inline styles", and is not a style, it's a tag. I think I should keep the structural tags that convey meaning, but remove style attributes. However, the rule also says "Use

                      for introductory paragraphs and general text", "Use

                      for section headers", "Use
                      • for list items". It doesn't say to use or . But "preserve ALL original content word-for-word" might conflict if I remove them. I think the intent is: the textual content should be preserved, and the HTML structure should use those specific tags. I might need to strip , , and just keep the text, but that would be removing content. Alternatively, I can keep and since they're not forbidden, but the rule says "No ... no inline styles". and are not inline styles. I'll keep them if needed, but the primary structure should be

                        ,

                        ,
                          ,
                        • . Let me look at the input text structure. It has: - Intro paragraph with span text - Empty paragraphs - h3 with span "Qualifications", then ul with li items - h3 with span "Experience", then ul with li items - h3 with span "Knowledge & Skills", then ul with li items - h2 with span "Key Responsibilities", then h3 sub-headers and ul with li items - Many empty paragraphs - A paragraph with italic text - "Discover who we are" The rules say: use

                          for section headers (e.g. Responsibilities, Qualifications, Requirements, Education, Experience, Skills, How to Apply, Key Duties, About the Role). The input has "Qualifications", "Experience", "Knowledge & Skills", "Key Responsibilities". I need to map these to

                          . Also, the sub-headers under Key Responsibilities are like "1. Commercial & Financial Management", etc. Those are h3 in input. The rules say use

                          for section headers, but the sub-headers might be part of list items or could be

                          too. The rules list examples: "Responsibilities, Qualifications, Requirements, Education, Experience, Skills, How to Apply, Key Duties, About the Role". It doesn't mention sub-section headers. I need to decide how to handle them. "If text has no clear sections, just wrap paragraphs in

                          tags". This text has clear sections, so I should use the tags. "Preserve ALL original content word-for-word — do not add, remove, summarise, or rephrase". This is key. I must keep every word, but I can change the HTML tags to the specified ones, as long as the text content is identical. I should not remove or change any words, but I can strip formatting tags like , , if they are just formatting, or I might need to keep them? The phrase "preserve ALL original content word-for-word" suggests the textual content (the words) must be preserved exactly. The tags around them can be restructured. I think it's safe to strip , , and just keep the text, but if the test expects those tags to remain, I might fail. However, the rule says "No CSS classes, no inline styles, no

                          s, no
                          tags". It doesn't say "no or ". I could keep and since they're not inline styles, but is a container tag, not really content. I'll assume I should strip presentation tags like and if they don't carry semantic meaning required, but the rule says "preserve ALL original content word-for-word". If I remove , the text content is still there, just without bold. That might be okay. But to be safe, I'll keep and as they are standard HTML tags not prohibited, and strip and style attributes. Actually, the rule says "No ... no inline styles". and are not inline styles; they're semantic/presentational tags. I'll keep them. But wait, the rule also says "No CSS classes, no inline styles, no
                          s, no
                          tags". It explicitly lists
                          as forbidden. It doesn't list , , . I'll keep and , remove and style attributes. However, the rule "Use

                          for introductory paragraphs and general text" suggests that intro text should be in

                          . The first line is `

                          It’s fun to work in a company where people truly BELIEVE in what they’re doing!

                          `. I need to output that as

                          with the text, no style, and the span content either kept or stripped. "Preserve ALL original content word-for-word" - if I strip the span, the text "It’s fun to work in a company where people truly BELIEVE in what they’re doing!" is still preserved. I think stripping is okay. Let me plan the transformation: Input text blocks (ignoring empty paragraphs with style="text-align:inherit" which I can ignore or handle as whitespace, but the rule says "If text has no clear sections, just wrap paragraphs in

                          tags". The empty paragraphs might be just spacing. I'll probably ignore empty paragraphs or output them as

                          ? The rule says use

                          for introductory paragraphs and general text. Empty paragraphs might be considered general text, but they have no content. I'll probably omit them or output

                          . But "Preserve ALL original content word-for-word" - if there's no content, maybe I should include empty

                          ? I'll see.) Let me list all meaningful elements from the input, in order: 1. `

                          It’s fun to work in a company where people truly BELIEVE in what they’re doing!

                          ` -> I'll output `

                          It’s fun to work in a company where people truly BELIEVE in what they’re doing!

                          ` (strip style, strip span, keep text) 2. Five `

                          ` - empty paragraphs. I'll probably skip them or output `

                          `. Since they have no content, and the rule says "If text has no clear sections, just wrap paragraphs in

                          tags", maybe I should output them. But they are repetitive. I'll output them as `

                          ` to preserve structure, or maybe just ignore. The instruction says "Preserve ALL original content word-for-word". Empty content is still content (nothing). I'll include them as `

                          ` to be safe, but maybe the expected output omits them. I'll re-read: "If text has no clear sections, just wrap paragraphs in

                          tags". This implies that if there are paragraphs, wrap them. The empty ones have no text, so maybe `

                      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 📝

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?