Repository navigation
test: add basic Lua, Erlang, and Fortran samples - #1434
Merged
Merged
Conversation
reyammer
force-pushed
the
test/add-basic-language-samples
branch
from
September 7, 2026 12:53
95999b6 to
b5458ce
Compare
reyammer
approved these changes
Sep 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Contributes to #662.
Sample provenance
I wrote all three text files from scratch for this pull request. They use fictional weather readings and station names, and do not include any third-party or generated source material.
Testing
magika --json tests_data/basic/lua/weather.lua tests_data/basic/erlang/weather_station.erl tests_data/basic/fortran/temperature_report.f90— all three returned the expected labels with thestandard_v3_3modelpython/scripts/run_quick_test_magika_cli.py— passed against the full basic corpuspython/scripts/run_quick_test_magika_module.py— passed against the full basic corpusgo test ./...(fromgo/) — passedgit diff --check— passedAI assistance
I used OpenAI Codex to help identify unclaimed content types, draft the sample files, and run the repository checks. I reviewed the final files, verified their behavior locally, and will respond to review feedback myself.