Model: Collab-uniba/cfs-binary-setfit
Author: Collab-uniba
Pipeline: text-classification
Library: setfit
Tags: setfit, safetensors, mpnet, sentence-transformers, text-classification, generated_from_setfit_trainer, arxiv:2209.11055, region:us
Card metadata: library_name: setfit
metrics: accuracy
pipeline_tag: text-classification
tags: setfit, sentence-transformers, text-classification, generated_from_setfit_trainer
widget: Consistent CFE_PSP_Main implementation
RTEMS PSP hardcodes "/cf/cfe_es_startup.scr", but mcp750 and pc-linux both use the CFE_PLATFORM_ES_NONVOL_STARTUP_FILE.

Inconsistent implementations.

From #102  (solved here):
cfe_psp_start.c for mcp750 VxWorks has StartupFilePath as an input parameter to CFE_PSP_Main, but calls CFE_ES_Main with CFE_PLATFORM_ES_NONVOL_STARTUP_FILE.

Confusing implementation... looks like at least the pc-linux PSP only uses CFE_PLATFORM_ES_NONVOL_STARTUP_FILE (but a different prototype)., Fix input options handling dashes
**Describe the bug**
The "help" option is triggered by `-help` which only uses one dash. Full-word options should use double dashes.

**To Reproduce**
See code

```
if ((argc != 2) || (strncmp(argv[1], "-help", 100) == 0))
    {
        printf("\ncFE TS CRC calculator: \%s\n", CFE_TS_CRC_VERSION_STRING);
        printf("\nUsage: cfe_ts_crc [filename]\n");
        exit(0);
    }
```

**Expected behavior**
Use `--help` instead

**Code snips**
If applicable, add references to the software.

**System observed on:**
Source code

**Additional context**
None

**Reporter Info**
Gerardo E. Cruz-Ortiz, NASA-GSFC, OS_TaskExit() on VxWorks causes task table owner to be the deleted task
**Describe the bug**
OS_TaskExit() calls OS_ObjectIdFinalizeDelete(). This function sets  the task's record->active_id to 0, which is also being used as the task ID on VxWorks. ObjectIdFinalizeDelete() subsequently calls OS_Unlock_Global, which errors out and does not clear the owner, as the task ID is now zeroed out and does not match the owner of the table. This does not occur on Linux

**To Reproduce**
Steps to reproduce the behavior:
On VxWorks, call CFE_ES_ExitChildTask with OSAL_CONFIG_DEBUG_PRINTF  enabled

**Expected behavior**
Error message should not be printed out

**Code snips**
https://github.com/nasa/osal/blob/1a826576f8dd9eb37f47da0e633b1d4712b8ac61/src/os/shared/src/osapi-idmap.c#L745-L777
https://github.com/nasa/osal/blob/1a826576f8dd9eb37f47da0e633b1d4712b8ac61/src/os/shared/src/osapi-idmap.c#L625-L676
https://github.com/nasa/osal/blob/1a826576f8dd9eb37f47da0e633b1d4712b8ac61/src/os/vxworks/src/os-impl-tasks.c#L385-L413
https://github.com/nasa/osal/blob/1a826576f8dd9eb37f47da0e633b1d4712b8ac61/src/os/posix/src/os-impl-tasks.c#L736-L751

**System observed on:**
 - SP0
 - OS: VxWorks 6.9
 - Versions: CFE 6.8, OSAL  5.1.0-rc1+dev16, 

**Additional context**
See attached screenshots for stack traces
![image](https://user-images.githubusercontent.com/63735778/98269251-82b02900-1f5b-11eb-83f9-0af820169aa8.png)
![image](https://user-images.githubusercontent.com/63735778/98269098-5b595c00-1f5b-11eb-836c-4abd911c123e.png)
**Reporter Info**
John N. Pham, Northrop Grumman


, Outdated License(?)
Many files in the PSP (and one in the CFS) contain a file license header that seems to be outdated?  It doesn't reference the NOSA, and seems to include restrictions that are in conflict with the NOSA (see the 2nd paragraph).  Note, Working with the SourceForge cFE release.

An example:
{{{
**      Copyright (c) 2004-2006, United States government as represented by the
**      administrator of the National Aeronautics Space Administration.
**      All rights reserved. This software(cFE) was created at NASA Goddard
**      Space Flight Center pursuant to government contracts.
**
**      This software may be used only pursuant to a United States government
**      sponsored project and the United States government may not be charged
**      for use thereof.
}}}

A quick grep showed these files:
{{{
find . -type f -exec grep -li "This software may be used only" {} \;
./CFS/hs/fsw/unit_test/cfe_psp_timer.c
./cFE/psp/fsw/mcp750-vxworks6.4/inc/psp_version.h
./cFE/psp/fsw/mcp750-vxworks6.4/inc/cfe_psp_config.h
./cFE/psp/fsw/mcp750-vxworks6.4/src/cfe_psp_support.c
./cFE/psp/fsw/mcp750-vxworks6.4/src/cfe_psp_start.c
./cFE/psp/fsw/mcp750-vxworks6.4/src/cfe_psp_ssr.c
./cFE/psp/fsw/mcp750-vxworks6.4/src/cfe_psp_voltab.c
./cFE/psp/fsw/mcp750-vxworks6.4/src/cfe_psp_exception.c
./cFE/psp/fsw/mcp750-vxworks6.4/src/cfe_psp_watchdog.c
./cFE/psp/fsw/mcp750-vxworks6.4/src/cfe_psp_timer.c
./cFE/psp/fsw/mcp750-vxworks6.4/src/cfe_psp_memory.c
./cFE/psp/fsw/inc/cfe_psp.h
./cFE/psp/fsw/arm-linux/inc/psp_version.h
./cFE/psp/fsw/arm-linux/inc/cfe_psp_config.h
./cFE/psp/fsw/arm-linux/src/cfe_psp_support.c
./cFE/psp/fsw/arm-linux/src/cfe_psp_start.c
./cFE/psp/fsw/arm-linux/src/cfe_psp_ssr.c
./cFE/psp/fsw/arm-linux/src/cfe_psp_voltab.c
./cFE/psp/fsw/arm-linux/src/cfe_psp_exception.c
./cFE/psp/fsw/arm-linux/src/cfe_psp_watchdog.c
./cFE/psp/fsw/arm-linux/src/cfe_psp_timer.c
./cFE/psp/fsw/arm-linux/src/cfe_psp_memory.c
./cFE/psp/fsw/pc-cygwin/inc/psp_version.h
./cFE/psp/fsw/pc-cygwin/inc/cfe_psp_config.h
./cFE/psp/fsw/pc-cygwin/src/cfe_psp_support.c
./cFE/psp/fsw/pc-cygwin/src/cfe_psp_start.c
./cFE/psp/fsw/pc-cygwin/src/cfe_psp_ssr.c
./cFE/psp/fsw/pc-cygwin/src/cfe_psp_voltab.c
./cFE/psp/fsw/pc-cygwin/src/cfe_psp_exception.c
./cFE/psp/fsw/pc-cygwin/src/cfe_psp_watchdog.c
./cFE/psp/fsw/pc-cygwin/src/cfe_psp_timer.c
./cFE/psp/fsw/pc-cygwin/src/cfe_psp_memory.c
./cFE/psp/fsw/mac-osx/inc/psp_version.h
./cFE/psp/fsw/mac-osx/inc/cfe_psp_config.h
./cFE/psp/fsw/mac-osx/src/cfe_psp_support.c
./cFE/psp/fsw/mac-osx/src/cfe_psp_start.c
./cFE/psp/fsw/mac-osx/src/cfe_psp_ssr.c
./cFE/psp/fsw/mac-osx/src/cfe_psp_voltab.c
./cFE/psp/fsw/mac-osx/src/cfe_psp_exception.c
./cFE/psp/fsw/mac-osx/src/cfe_psp_watchdog.c
./cFE/psp/fsw/mac-osx/src/cfe_psp_timer.c
./cFE/psp/fsw/mac-osx/src/cfe_psp_memory.c
./cFE/psp/fsw/pc-linux/inc/psp_version.h
./cFE/psp/fsw/pc-linux/inc/cfe_psp_config.h
./cFE/psp/fsw/pc-linux/src/cfe_psp_support.c
./cFE/psp/fsw/pc-linux/src/cfe_psp_start.c
./cFE/psp/fsw/pc-linux/src/cfe_psp_ssr.c
./cFE/psp/fsw/pc-linux/src/cfe_psp_voltab.c
./cFE/psp/fsw/pc-linux/src/cfe_psp_exception.c
./cFE/psp/fsw/pc-linux/src/cfe_psp_watchdog.c
./cFE/psp/fsw/pc-linux/src/cfe_psp_timer.c
./cFE/psp/fsw/pc-linux/src/cfe_psp_memory.c
./cFE/psp/fsw/grut699-vxworks6/inc/psp_version.h
./cFE/psp/fsw/grut699-vxworks6/inc/cfe_psp_config.h
./cFE/psp/fsw/grut699-vxworks6/src/cfe_psp_support.c
./cFE/psp/fsw/grut699-vxworks6/src/cfe_psp_start.c
./cFE/psp/fsw/grut699-vxworks6/src/cfe_psp_ssr.c
./cFE/psp/fsw/grut699-vxworks6/src/cfe_psp_voltab.c
./cFE/psp/fsw/grut699-vxworks6/src/cfe_psp_exception.c
./cFE/psp/fsw/grut699-vxworks6/src/cfe_psp_watchdog.c
./cFE/psp/fsw/grut699-vxworks6/src/cfe_psp_timer.c
./cFE/psp/fsw/grut699-vxworks6/src/cfe_psp_memory.c
./cFE/psp/fsw/mcf5235-rtems/inc/psp_version.h
./cFE/psp/fsw/mcf5235-rtems/inc/cfe_psp_config.h
./cFE/psp/fsw/mcf5235-rtems/src/cfe_psp_support.c
./cFE/psp/fsw/mcf5235-rtems/src/cfe_psp_start.c
./cFE/psp/fsw/mcf5235-rtems/src/cfe_psp_ssr.c
./cFE/psp/fsw/mcf5235-rtems/src/cfe_psp_voltab.c
./cFE/psp/fsw/mcf5235-rtems/src/cfe_psp_exception.c
./cFE/psp/fsw/mcf5235-rtems/src/cfe_psp_watchdog.c
./cFE/psp/fsw/mcf5235-rtems/src/cfe_psp_timer.c
./cFE/psp/fsw/mcf5235-rtems/src/cfe_psp_memory.c
}}}
, Use a changelog to keep track of changes instead of having them in the Readme 
**Is your feature request related to a problem? Please describe.**
The version history in the Readme file clutters useful information

**Describe the solution you'd like**
Move the "version history" from `Readme.md` to `CHANGELOG.md` and start following this spec: https://keepachangelog.com/en/1.0.0/

**Describe alternatives you've considered**
Move changelog section in the readme to a section at the very bottom of the file

**Additional context**
None

**Requester Info**
Gerardo E. Cruz-Ortiz, NASA-GSFC

inference: yes
Likes: 0 | All-time downloads: 36
Created: 2024-10-22 14:50:02