Simon Wacker (e86af732) at 02 Feb 13:47
Add good resources about proper usage of Docker
Simon Wacker (13ee697e) at 02 Feb 13:00
Introduce typing and programming error
... and 9 more commits
Simon Wacker (101b9d5f) at 22 Jan 17:15
Fix version of poetry plugin export
Simon Wacker (df36f3ff) at 22 Jan 17:11
Update README
Simon Wacker (efb1df56) at 22 Jan 16:56
Manage Python dependencies with Poetry
... and 1 more commit
Long running branch for job interviews with one typing error and one logic error. Other errors that could be added are syntax errors, runtime errors, arithmetic errors, resource errors, and interface errors or other kinds of programming errors.
Tasks to ask the applicant to do within a POSIX-compatible shell like bash
in a clone of this repository with the branch job-interview
checked-out:
ls
and press enter)cat ${FILE_NAME}
and press enter)tail
command (Answer: Type tail --help
and press enter)--follow
does, and follow the tail of the file you printed above (Answer: Type tail --follow ${FILE_NAME}
and press enter)Hello tail!
to the end of the followed file (Answer: Type echo "Hello tail!" >> ${FILE_NAME}
and press enter)python --version
and press enter)wc
(Answer: First, type pip list
and press enter and then type pip list | wc -l
and press enter)python
and press enter, then type [x**2 for x in range(1, 11)]
and press enter, then type exit()
and press enter. Note that we use list comprehensions here.)mypy .
and press enter)calculator.raize
from str
to int
)mypy .
and press enter, then type git checkout -b my-bug-fix
and press enter, then type git add .
and press enter, then type git commit -m 'Fix return type of "calculator.raize"'
and press enter)pytest ./tests
and press enter)- 1
from range
in calculator.raize
)pytest ./tests
and press enter, then type git add .
and press enter, then type git commit -m 'Fix logic error of "calculator.raize"'
and press enter)job-interview
branch (Answer: First, type git push --upstream origin my-bug-fix
and press enter, then in a web browser navigate to https://gitlab.cc-asp.fraunhofer.de/ise621/sample-python-project/-/merge_requests and create a new merge request through the user interface)job-interview
branch and remove the my-bug-fix
branch (Answer: Press the merge button in the user interface and then in the shell execute `git checkout job-interview && git pull -p && git branch -d my-bug-fix)git
? (Partial Answer: Versioning. Collaboration. Knowing why certain changes where done and what changes belong to one another)docker
? (Partial Answer: To have reproducible environments across space and time)multiprocessing
to compute something in parallel. (Missing Answer: For advanced applicants)Thanks a lot @swacker ! This is very helpful to match applicants and tasks.
Simon Wacker (509a060e) at 27 Jun 13:54
Link to resources from the same author regarding writing performant...
Long running branch for job interviews with one typing error and one logic error. Other errors that could be added are syntax errors, runtime errors, arithmetic errors, resource errors, and interface errors or other kinds of programming errors.
Tasks to ask the applicant to do within a POSIX-compatible shell like bash
in a clone of this repository with the branch job-interview
checked-out:
ls
and press enter)cat ${FILE_NAME}
and press enter)tail
command (Answer: Type tail --help
and press enter)--follow
does, and follow the tail of the file you printed above (Answer: Type tail --follow ${FILE_NAME}
and press enter)Hello tail!
to the end of the followed file (Answer: Type echo "Hello tail!" >> ${FILE_NAME}
and press enter)python --version
and press enter)wc
(Answer: First, type pip list
and press enter and then type pip list | wc -l
and press enter)python
and press enter, then type [x**2 for x in range(1, 11)]
and press enter, then type exit()
and press enter. Note that we use list comprehensions here.)mypy .
and press enter)calculator.raize
from str
to int
)mypy .
and press enter, then type git checkout -b my-bug-fix
and press enter, then type git add .
and press enter, then type git commit -m 'Fix return type of "calculator.raize"'
and press enter)pytest ./tests
and press enter)- 1
from range
in calculator.raize
)pytest ./tests
and press enter, then type git add .
and press enter, then type git commit -m 'Fix logic error of "calculator.raize"'
and press enter)job-interview
branch (Answer: First, type git push --upstream origin my-bug-fix
and press enter, then in a web browser navigate to https://gitlab.cc-asp.fraunhofer.de/ise621/sample-python-project/-/merge_requests and create a new merge request through the user interface)job-interview
branch and remove the my-bug-fix
branch (Answer: Press the merge button in the user interface and then in the shell execute `git checkout job-interview && git pull -p && git branch -d my-bug-fix)git
? (Partial Answer: Versioning. Collaboration. Knowing why certain changes where done and what changes belong to one another)docker
? (Partial Answer: To have reproducible environments across space and time)multiprocessing
to compute something in parallel. (Missing Answer: For advanced applicants)Simon Wacker (d4e34ec2) at 27 Jun 12:15
Simon Wacker (47e8ea2a) at 31 May 15:16
Link to resources from the same author regarding writing performant...
Simon Wacker (c4743acc) at 13 Mar 15:57
Undo typing and programming error
Simon Wacker (d4e34ec2) at 13 Mar 14:40
Introduce typing and programming error
Simon Wacker (57b99b21) at 13 Mar 14:37
Add test that raises a number to a positive power
Simon Wacker (e2f50a8c) at 13 Mar 14:30
Make pylint happy
Simon Wacker (de020408) at 13 Mar 14:20
Ignore /tags* files