Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • senpy senpy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • senpysenpy
  • senpysenpy
  • Merge requests
  • !21

Pre 1.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged J. Fernando Sánchez requested to merge pre-1.0 into master Jan 07, 2018
  • Overview 0
  • Commits 10
  • Pipelines 0
  • Changes 64

There are too many changes in this merge request. I would've tried to split them, but most of them are pretty much dependent on each other.

  • Enhanced meta-programming for models
  • Add plugin metaclass to keep track of plugin types
  • Plugins can be imported from a python file if they're named senpy_<whatever>.py> or <whatever>_plugin.py (no need for .senpy files anymore!)
  • As a result of the previous one, I refactored the code to get rid of unnecessary .senpys
  • Add Box plugin (i.e. black box)
  • Add SentimentBox, EmotionBox and MappingMixin
  • Refactored CustomDict
  • Add docstings and tests to most plugins
  • Read plugin description from the docstring
  • Load models, plugins and utils into the main module (senpy) (see init.py)
  • Enhanced plugin development/experience with utils (easy_test, easy_serve)
  • Fix bug in check_template that wouldn't check objects
  • Make model defaults a private variable
  • Add option to list loaded plugins in CLI
  • Update docs
  • Add sklearn example
  • Several fixes for test_case
  • Simplified test_case for different types of plugin (Sentiment, Emotion & Analysis)
  • Add SenpyClientUse docs
  • Change names of classes in the plugins module to avoid repetitions (we may have to revert this)
  • Make subprocess log private
  • Moved plugins to examples dir (in a previous commit)
  • Simplify validation in parse_params
  • Added convenience methods to mock requests in tests
  • Change help schema to use .valid_parameters instead of .parameters, which was used in results to show parameters provided by the user.
  • Add loading attributes in class
  • Add ability to specify failing test cases in plugins
  • Improve UI
    • Added basic parameters
    • Fixed bugs in parameter handling
    • Refactored and cleaned code
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: pre-1.0