compustar commited on
Commit
a785209
Β·
verified Β·
1 Parent(s): 35342f7

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +30 -6
index.html CHANGED
@@ -8,12 +8,36 @@
8
  </head>
9
  <body>
10
  <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  </div>
18
  </body>
19
  </html>
 
8
  </head>
9
  <body>
10
  <div class="card">
11
+ <p>Here's an improved version with hints encouraging users to start with the smaller file before tackling the larger one:</p>
12
+ <hr>
13
+ <h2 id="-azure-document-intelligence-coding-challenge-"><strong>Azure Document Intelligence Coding Challenge</strong></h2>
14
+ <h3 id="-available-json-files-"><strong>Available JSON Files</strong></h3>
15
+ <p>The following JSON files are the output of <strong>Azure Document Intelligence</strong>:</p>
16
+ <ul>
17
+ <li><a target="_blank" rel="noopener noreferrer" href="https://huggingface.co/spaces/compustar/coding-challenge/resolve/main/Scope-of-Funding-Summary-CN.pdf.json?download=true"><strong>Scope of Funding Summary (CN) - JSON</strong></a> (141KB)</li>
18
+ <li><a target="_blank" rel="noopener noreferrer" href="https://huggingface.co/spaces/compustar/coding-challenge/resolve/main/IMF%20World%20Economic%20Outlook%202024%20October.pdf.json?download=true"><strong>IMF World Economic Outlook 2024 (October) - JSON</strong></a> (29.1MB)</li>
19
+ </ul>
20
+ <p>The JSON structure follows the specifications outlined in the <strong>Azure AI Services REST API</strong>:<br>πŸ”— <a target="_blank" rel="noopener noreferrer" href="https://learn.microsoft.com/en-us/rest/api/aiservices/document-models/get-analyze-result?view=rest-aiservices-v4.0%20(2024-11-30">Document Models - Get Analyze Result</a>&amp;tabs=HTTP#definitions)</p>
21
+ <hr>
22
+ <h2 id="-challenges-"><strong>Challenges</strong></h2>
23
+ <h3 id="-challenge-1-convert-json-to-markdown-">πŸ”Ή <strong>Challenge 1: Convert JSON to Markdown</strong></h3>
24
+ <p>Write a program in any language (using LLMs or AI-powered IDEs if desired) to convert the JSON files into <strong>Markdown</strong> format. The output should match the structure of these example files:</p>
25
+ <ul>
26
+ <li><a target="_blank" rel="noopener noreferrer" href="https://huggingface.co/spaces/compustar/coding-challenge/resolve/main/Scope-of-Funding-Summary-CN.pdf.md?download=true"><strong>Scope of Funding Summary (CN) - Markdown</strong></a></li>
27
+ <li><a target="_blank" rel="noopener noreferrer" href="https://huggingface.co/spaces/compustar/coding-challenge/resolve/main/IMF%20World%20Economic%20Outlook%202024%20October.pdf.md?download=true"><strong>IMF World Economic Outlook 2024 (October) - Markdown</strong></a></li>
28
+ </ul>
29
+ <p>πŸ’‘ <strong>Hint:</strong> Start with the <strong>smaller file</strong> (141KB) before working with the larger one (29.1MB). This will help you debug and refine your approach efficiently.</p>
30
+ <hr>
31
+ <h3 id="-challenge-2-convert-json-to-html-">πŸ”Ή <strong>Challenge 2: Convert JSON to HTML</strong></h3>
32
+ <p>Develop a program to transform the JSON files into <strong>HTML</strong>, ensuring that the output matches the format produced by:</p>
33
+ <p>πŸ”— <a target="_blank" rel="noopener noreferrer" href="https://markdowntohtml.com/"><strong>Free Markdown to HTML Converter</strong></a></p>
34
+ <p>πŸ’‘ <strong>Hint:</strong> Once again, process the <strong>smaller JSON file first</strong> to verify your approach before handling the larger dataset.</p>
35
+ <hr>
36
+ <h3 id="-challenge-3-convert-json-to-word-document-">πŸ”Ή <strong>Challenge 3: Convert JSON to Word Document</strong></h3>
37
+ <p>Write a program to convert the JSON files into <strong>Word (.docx) files</strong>, ensuring that they visually match the <strong>HTML output</strong> from Challenge 2.</p>
38
+ <p>πŸ’‘ <strong>Hint:</strong> If your markdown-to-HTML pipeline is working correctly, you can use <strong>Markdown-to-Word conversion tools</strong> (such as Pandoc) or a direct <strong>HTML-to-Word approach</strong> to generate consistent results.</p>
39
+ <hr>
40
+ <p>πŸ’‘ <strong>You can use any programming language, framework, or AI-powered development tool to complete these challenges.</strong> Happy coding! πŸš€</p>
41
  </div>
42
  </body>
43
  </html>