The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
module: string
interview_questions: list<item: struct<question: string, answer: string, companies: list<item: string>>>
child 0, item: struct<question: string, answer: string, companies: list<item: string>>
child 0, question: string
child 1, answer: string
child 2, companies: list<item: string>
child 0, item: string
exercises: struct<test-why: list<item: struct<id: string, kind: string, prompt: string, starter_code: string, t (... 290 chars omitted)
child 0, test-why: list<item: struct<id: string, kind: string, prompt: string, starter_code: string, tests: list<item: (... 74 chars omitted)
child 0, item: struct<id: string, kind: string, prompt: string, starter_code: string, tests: list<item: struct<inpu (... 62 chars omitted)
child 0, id: string
child 1, kind: string
child 2, prompt: string
child 3, starter_code: string
child 4, tests: list<item: struct<input: string, expected: string>>
child 0, item: struct<input: string, expected: string>
child 0, input: string
child 1, expected: string
child 5, hint: string
child 6, solution: string
child 1, test-unittest-pytest: list<item: struct<id: string, kind: string, prompt: string, starter_code: string, tests: list<item: (... 74 chars omitted)
child 0, item: struct<id: string, kind: string, prompt: string, starter_code: string, tests: list<item: struct<inpu (... 62 cha
...
mitted)
child 0, id: string
child 1, kind: string
child 2, prompt: string
child 3, starter_code: string
child 4, tests: list<item: struct<input: string, expected: string>>
child 0, item: struct<input: string, expected: string>
child 0, input: string
child 1, expected: string
child 5, hint: string
child 6, solution: string
lessons: list<item: struct<id: string, title: string, goal: string, sections: list<item: struct<heading: stri (... 205 chars omitted)
child 0, item: struct<id: string, title: string, goal: string, sections: list<item: struct<heading: string, body: s (... 193 chars omitted)
child 0, id: string
child 1, title: string
child 2, goal: string
child 3, sections: list<item: struct<heading: string, body: string>>
child 0, item: struct<heading: string, body: string>
child 0, heading: string
child 1, body: string
child 4, code: string
child 5, view: string
child 6, walkthrough: string
child 7, key_points: list<item: string>
child 0, item: string
child 8, quiz: struct<question: string, options: list<item: string>, correct_index: int64, explanation: string>
child 0, question: string
child 1, options: list<item: string>
child 0, item: string
child 2, correct_index: int64
child 3, explanation: string
to
{'module': Value('string'), 'lessons': List({'id': Value('string'), 'title': Value('string'), 'goal': Value('string'), 'sections': List({'heading': Value('string'), 'body': Value('string')}), 'code': Value('string'), 'view': Value('string'), 'walkthrough': Value('string'), 'key_points': List(Value('string')), 'quiz': {'question': Value('string'), 'options': List(Value('string')), 'correct_index': Value('int64'), 'explanation': Value('string')}})}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 489, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
module: string
interview_questions: list<item: struct<question: string, answer: string, companies: list<item: string>>>
child 0, item: struct<question: string, answer: string, companies: list<item: string>>
child 0, question: string
child 1, answer: string
child 2, companies: list<item: string>
child 0, item: string
exercises: struct<test-why: list<item: struct<id: string, kind: string, prompt: string, starter_code: string, t (... 290 chars omitted)
child 0, test-why: list<item: struct<id: string, kind: string, prompt: string, starter_code: string, tests: list<item: (... 74 chars omitted)
child 0, item: struct<id: string, kind: string, prompt: string, starter_code: string, tests: list<item: struct<inpu (... 62 chars omitted)
child 0, id: string
child 1, kind: string
child 2, prompt: string
child 3, starter_code: string
child 4, tests: list<item: struct<input: string, expected: string>>
child 0, item: struct<input: string, expected: string>
child 0, input: string
child 1, expected: string
child 5, hint: string
child 6, solution: string
child 1, test-unittest-pytest: list<item: struct<id: string, kind: string, prompt: string, starter_code: string, tests: list<item: (... 74 chars omitted)
child 0, item: struct<id: string, kind: string, prompt: string, starter_code: string, tests: list<item: struct<inpu (... 62 cha
...
mitted)
child 0, id: string
child 1, kind: string
child 2, prompt: string
child 3, starter_code: string
child 4, tests: list<item: struct<input: string, expected: string>>
child 0, item: struct<input: string, expected: string>
child 0, input: string
child 1, expected: string
child 5, hint: string
child 6, solution: string
lessons: list<item: struct<id: string, title: string, goal: string, sections: list<item: struct<heading: stri (... 205 chars omitted)
child 0, item: struct<id: string, title: string, goal: string, sections: list<item: struct<heading: string, body: s (... 193 chars omitted)
child 0, id: string
child 1, title: string
child 2, goal: string
child 3, sections: list<item: struct<heading: string, body: string>>
child 0, item: struct<heading: string, body: string>
child 0, heading: string
child 1, body: string
child 4, code: string
child 5, view: string
child 6, walkthrough: string
child 7, key_points: list<item: string>
child 0, item: string
child 8, quiz: struct<question: string, options: list<item: string>, correct_index: int64, explanation: string>
child 0, question: string
child 1, options: list<item: string>
child 0, item: string
child 2, correct_index: int64
child 3, explanation: string
to
{'module': Value('string'), 'lessons': List({'id': Value('string'), 'title': Value('string'), 'goal': Value('string'), 'sections': List({'heading': Value('string'), 'body': Value('string')}), 'code': Value('string'), 'view': Value('string'), 'walkthrough': Value('string'), 'key_points': List(Value('string')), 'quiz': {'question': Value('string'), 'options': List(Value('string')), 'correct_index': Value('int64'), 'explanation': Value('string')}})}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Edudiagno published catalogue
Everything the desktop app downloads. Upload this whole folder to the Hugging Face dataset; the
app reads it from https://huggingface.co/datasets/<user>/<name>/resolve/main/.
The JSON in this folder is generated. Do not hand-edit it. The source of truth is
gen/. Edit the Python there, then runpython gen/build_dataset.py && python build_catalog.py. Hand edits are silently overwritten on the next build, and hand-written coding test cases break the guarantee below.Current size: 1,017 MCQs, 1,071 coding problems (5,337 test cases), 25 interview pools of 500 questions each (12,500 total).
Every coding
expectedvalue is produced by executing that problem's reference solution at build time. This is why the generator exists: a hand-typed expected output that is subtly wrong fails a candidate who wrote correct code, and you would not find out.
catalog.json the index β browsed first, always
assessment_<key>.json one per assessment (downloaded only when a teacher adds it)
<position>.json interview question pool for that role
mcq_common.json shared MCQ pool (common to every assessment)
coding_common.json shared coding pool (common to every assessment)
index.csv position -> pool lookup
Bundled (not downloaded) content
Three folders here are compiled into the .exe by PyInstaller rather than fetched over the network, so they work with no connection at all. They live in this repo so the same authoring workflow covers everything, but uploading them to Hugging Face has no effect on the app:
| Folder | Used by |
|---|---|
sql/ |
SQL Lab datasets + challenges |
dsa/ |
DSA practice bank for the Code Playground |
python_course/ |
the "Learn Python from Scratch" course |
python_course/index.json lists the modules; each module is one file under
python_course/lessons/, with its exercises, interview questions and narration in the matching
python_course/practice/<module-id>.json. Every lesson's code and every exercise's reference
solution is executed by core/tests/test_python_course.py β a snippet that raises, prints
nothing, or calls input() fails the suite, because students load these straight into the Visual
Runner. Lesson and exercise ids must be globally unique.
PythonNotesForProfessionals.pdf β reference only, do not copy from it
PythonNotesForProfessionals.pdf (GoalKicker) sits in this folder as a curriculum reference.
Page 26 states it is compiled from Stack Overflow Documentation and that "Text content is
released under Creative Commons BY-SA".
CC BY-SA requires attribution and ShareAlike β licensing derivative work under the same terms β
which does not fit a proprietary product. It is also exactly what the "write original questions"
rule in core/question_pools/README.md exists to prevent.
So: mine its table of contents to find topics worth covering, then write our own examples. Never paste its text or code into a lesson. Original examples are also the only ones we can guarantee are correct, because ours are executed by the test suite.
Two kinds of pool
| Interview pools | Common pools | |
|---|---|---|
| Files | frontend.json, java-backend.json, β¦ |
mcq_common.json, coding_common.json |
| Scope | Per role β tied to one job | Shared by every assessment |
| Downloaded | only with an assessment that uses it | always, on every sync |
| Used by | the AI interview round | the MCQ and coding rounds |
Common pools are imported into the app's shared question tables, and each exam draws a fresh random subset, so two candidates sitting the same assessment do not get the same paper.
Adding a new assessment
1. Write the interview pool β <position>.json
A JSON array of question strings. Aim for 50+; a bigger pool means less overlap between candidates.
[
"How would you design a REST endpoint that returns a large collection?",
"What is the difference between an index and a primary key?"
]
Rules: under ~40 words, one concept each, answerable out loud (no "write a function thatβ¦"), avoid yes/no phrasing, and write them yourself β copying from interview sites is copyright infringement.
2. Write the assessment β assessment_<key>.json
{
"assessment_key": "backend-python",
"title": "Python Backend Developer Assessment",
"job_title": "Backend Developer",
"specialization": "Python, APIs, SQL",
"position_id": "backend-python",
"difficulty": "any",
"job_description": "We are hiring a Python Backend Developer to β¦",
"has_mcq": true, "has_coding": true, "has_interview": true,
"mcq_count": 20, "coding_count": 1, "interview_count": 10,
"mcq_minutes": 10, "coding_minutes": 15, "interview_minutes": 15
}
position_id must match the pool filename (backend-python β backend-python.json).
assessment_key is permanent β changing it creates a second assessment instead of updating.
The counts and minutes are only defaults; each teacher can change them afterwards.
3. Rebuild catalog.json and index.csv
Checksums must match or the app rejects the download. Run from this folder:
python build_catalog.py
4. Upload
Upload the changed files to the Hugging Face dataset. Every install picks the new assessment up on its next sync (within 6 hours, or immediately when a teacher opens the catalogue) β but nothing is downloaded to a college's machine until a teacher actually adds it.
How updates reach installed machines
Appending questions to a published pool is the supported way to grow the bank, and it needs no
special handling. Rewriting a file changes its bytes, so build_catalog.py writes a new sha256,
and every install notices on its next sync.
The sync is checksum-driven in both directions:
- Unchanged file β not downloaded at all. Each install records the sha256 of every file it has
imported (
sync_statetable). If the catalogue still publishes that checksum, the file is skipped. This matters now thatcoding_common.jsonis close to a megabyte β without it, every install pulled ~1.3 MB four times a day forever to learn nothing had changed. - Changed file β downloaded, verified, merged. Import is idempotent and matches on question text (MCQ), problem title (coding) and question text (interview pools), so only genuinely new entries are inserted. Re-syncing a pool that grew from 45 to 1,017 questions adds 972 rows and leaves the original 45 alone.
Known limitation: because matching is on text, editing an existing question in place does not
propagate β a corrected correct_index on a question whose wording is unchanged will not reach
machines that already imported it. Adding and removing work; in-place correction does not. If you
need to fix a wrong answer, change the question's wording too, or the fix will not land.
Editing an existing assessment
- Job description / title / role β edit
assessment_<key>.json, rebuild, upload. Installed copies update on the next sync. Teacher settings (counts, durations, priority) are never overwritten. - Add interview questions β append to
<position>.json, rebuild, upload. New questions merge into installed pools; duplicates are ignored. - Add MCQs or coding problems β append to
mcq_common.json/coding_common.json, rebuild, upload. They become available to every assessment.
Common MCQ format
{"text": "Which data structure uses FIFO ordering?",
"options": ["Queue", "Stack", "Tree", "Graph"],
"correct_index": 0, "category": "Data structures", "difficulty": "easy"}
Vary correct_index β build_catalog.py shuffles options so the answer is not always first.
Common coding format
{"title": "Sum of numbers", "category": "Arrays", "difficulty": "easy",
"statement": "Read a line of space-separated integers and print their sum.",
"starter_code": "import sys\n\ndef main():\n ...\n",
"time_limit_secs": 5,
"tests": [{"input": "3 7 11\n", "expected": "21"}]}
input goes to stdin; stdout is compared to expected after trimming. Compute expected outputs
by running a reference solution β never write them by hand, or a correct submission will fail.
- Downloads last month
- 558