Implement Italian Fiscal Code in Ada
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 70/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker
- Domain
- cli
Research direction
Start with SPECIFICATION.md in the repository root and the Python implementation under languages/python/ to see the expected layout of source, Dockerfile, run.sh, manifest.yaml and README.md. Create languages/ada/ and write the program to read JSON on stdin and write the fiscal code on stdout. Done when ./elc test ada passes 87/87 and the Docker image builds.
Written by the indexing model from the issue text.
Description
Implement the Italian Fiscal Code algorithm in Ada and get it verified by the shared test suite.
What to build
A program that reads one JSON object on stdin and writes the fiscal code (or an error) as JSON on stdout, exactly as described in SPECIFICATION.md.
$ echo '{"surname":"ROSSI","name":"MARIO","birth_date":"1980-01-01","sex":"M","birthplace_code":"H501"}' | ./elc run ada
{"fiscal_code": "RSSMRA80A01H501U"}
Suggested setup
| Directory | languages/ada/ |
| Family | historical |
| Docker base | debian:bookworm + gnat (just a suggestion) |
Checklist
-
languages/ada/with source,Dockerfile,run.sh,manifest.yamlandREADME.md - The algorithm is written entirely in Ada (no wrappers, no fiscal-code libraries, no remote calls)
-
./elc test adapasses 87/87 - PR opened with
Closes #<this issue>
See CONTRIBUTING.md and the Python / PHP implementations for complete examples.
🎃 This issue is part of Hacktoberfest. Comment below to claim it!
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openapi/every-language-fiscal-code
-
good first issue hacktoberfest help wanted new-language
Difficulty 2/5 Half a day Newbie friendliness 78/100
-
hacktoberfest help wanted historical-language new-language
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
hacktoberfest help wanted historical-language new-language
Difficulty 3/5 1-2 days Newbie friendliness 50/100
-
hacktoberfest help wanted historical-language new-language
Difficulty 4/5 3-5 days Newbie friendliness 50/100
-
hacktoberfest help wanted new-language
Difficulty 3/5 1-2 days Newbie friendliness 62/100
All issues in openapi/every-language-fiscal-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
aws-samples/sample-per-model-bedrock#243 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
FuRongJun-1999/dsh-memory#404 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug frontend
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PennyLaneAI/catalyst#3337 ·
Maintainers usually reply within 1 day
-
Workflow.schedule stops when a cron deadline passes before sleepPossibly taken @HuaTNA claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day