Giter Club home page Giter Club logo

peon's People

Contributors

paulfrische avatar roch1990 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

peon's Issues

Use of mutation testing in peon - Help needed

Hello there!

My name is Ana. I noted that you use the mutation testing tool in the project.
I am a postdoctoral researcher at the University of Seville (Spain), and my colleagues and I are studying how mutation testing tools are used in practice. With this aim in mind, we have analysed over 3,500 public GitHub repositories using mutation testing tools, including yours! This work has recently been published in a journal paper available at https://link.springer.com/content/pdf/10.1007/s10664-022-10177-8.pdf.

To complete this study, we are asking for your help to understand better how mutation testing is used in practice, please! We would be extremely grateful if you could contribute to this study by answering a brief survey of 21 simple questions (no more than 6 minutes). This is the link to the questionnaire https://forms.gle/FvXNrimWAsJYC1zB9.

Drop me an e-mail if you have any questions or comments ([email protected]). Thank you very much in advance!!

Redesign 'Principles' class

Now pipeline looks like:
every file -> Principles -> file goes trough every rule and every rule has it own report

Its not good, because reports mixed between each other.

How it should be:
Tuple of files -> Principles -> tuple of files goes trough every rule (rule by rule)
Every rule is standalone class.
Tuple of files is Principles property.

Every Rule class has its own report method, that create report (of course, its report!).

And report should be like:

Principle bla-bla-bla.
/src/project/file.py:23
/src/project/file2.py:32
More information: link to yegor256

Principle atata.
....

This looks more pretty.

Report to file

Create report to file if user choose -o cmd flag with output name (relative or absolute).
Default - to stdout.
To report class add method to_file (create file if need and write to it).
To methods of principles class add option by if-else operator for output channel choosing (file/stdout).

Skip-result cmd flag

If person, who use this linter want only to know what is invalid - he or she can start liner with flag -s, that only show invalid places and thent exit with 0.
If flag not given - exit with 1 (if was found invalid cases).

Fix mutual tests

A lot of mutual tests (around 50) is falling now.
Should repair.

Release auto-creation

At now there is only one way to create release - manual.
Need to add this step to travis.
Travis should create only minor versions.

So, result looks like:

  • after merge changes to master travis start to deploy release
  • release would be created at https://github.com/roch1990/peon/releases
  • release name should consists of version (wildcard - X.Y where X is major version, Y - minor version)
  • travis autoincrement minor version of release
  • description of release should consists of commit list (with links), chained with this release (deff between previous and current releases)

Grouped report

Now report is not ordered.

But report should loks like this (example):

Principle: No mutable types
file1.py:1
file1.py:3
file2.py:12
source:<link to yegor256 article>

Principle: No null
....

Multiversion test

Neew to write bash script, that:
for python 3.0..9:
- pull container with python v3.N (n=0..9 ?)
- clone peon to container
- try to test a some python code by peon
- if exception raised - test should fall
- start test with next version

  • if one of version-test fall - exit(127) else exit(0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.